ATLAS Offline Software
Loading...
Searching...
No Matches
python.Include Namespace Reference

Classes

class  Include
class  IncludeError

Functions

 basename2 (fn)
 files inclusion -------------------------------------------------------—

Variables

str __version__ = '1.3.0'
 data ------------------------------------------------------------------—
str __author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)'
list __all__
str marker = ' -+-'
str __marker__ = ' -+-'
str silentMarker = ' '
str activeMarker = 'A'
str tracedMarker = 'T'
str callMarker = 'C'
str returnMarker = 'R'
str lineMarker = '%3d'
str fidMarker = '%2d'
list excludeTracePattern
list includeTracePattern = [ '*/AthenaCommon/Bootstrap.py' ]
 log = Logging.logging.getLogger( 'Athena' )
 optionsPathEnv = os.curdir
 optionsPath = re.split( ',|' + os.pathsep, optionsPathEnv )
dict _filecache = {}
dict _linecache = {}
dict _notrcache = {}
 include = Include(show = False)

Detailed Description

Handle Athena options file inclusion. Files are located through the
JOBOPTSEARCHPATH envar and globally executed. If requested, files will be
traced. Note, however, that this option interferes with pdb and trace.

Function Documentation

◆ basename2()

python.Include.basename2 ( fn)

files inclusion -------------------------------------------------------—

Definition at line 68 of file Include.py.

68def basename2( fn ):
69 return os.path.join( os.path.basename( os.path.dirname( fn ) ), os.path.basename( fn ) )
70

Variable Documentation

◆ __all__

list python.Include.__all__
private
Initial value:
1= [ 'include', 'marker', 'lineMarker', 'fidMarker',
2 'callMarker', 'returnMarker', 'activeMarker', 'silentMarker',
3 'tracedMarker' ]

Definition at line 17 of file Include.py.

◆ __author__

str python.Include.__author__ = 'Wim Lavrijsen (WLavrijsen@lbl.gov)'
private

Definition at line 15 of file Include.py.

◆ __marker__

str python.Include.__marker__ = ' -+-'
private

Definition at line 22 of file Include.py.

◆ __version__

str python.Include.__version__ = '1.3.0'
private

data ------------------------------------------------------------------—

Definition at line 14 of file Include.py.

◆ _filecache

dict python.Include._filecache = {}
protected

Definition at line 71 of file Include.py.

◆ _linecache

dict python.Include._linecache = {}
protected

Definition at line 72 of file Include.py.

◆ _notrcache

dict python.Include._notrcache = {}
protected

Definition at line 73 of file Include.py.

◆ activeMarker

str python.Include.activeMarker = 'A'

Definition at line 24 of file Include.py.

◆ callMarker

str python.Include.callMarker = 'C'

Definition at line 26 of file Include.py.

◆ excludeTracePattern

list python.Include.excludeTracePattern
Initial value:
1= [
2 '*/GaudiPython/*', '*/GaudiKernel/*', # Gaudi framework files
3 '*/AthenaCommon/*', # Athena framework files
4 '*/python%d.%d/*' % sys.version_info[:2], # python system
5 '*/python/*/*Conf.py', # generated conf files
6 '*/PyUtils/decorator.py', # very verbose
7 '*/PyUtils/Decorators.py', # ditto
8 '*/PyUtils/Helper*.py', # ditto
9 '*/lib/ROOT.py', # ROOT import hook gets executed very many times
10 '*importlib._bootstrap*',
11 ]

Definition at line 32 of file Include.py.

◆ fidMarker

str python.Include.fidMarker = '%2d'

Definition at line 29 of file Include.py.

◆ include

python.Include.include = Include(show = False)

Definition at line 318 of file Include.py.

◆ includeTracePattern

list python.Include.includeTracePattern = [ '*/AthenaCommon/Bootstrap.py' ]

Definition at line 45 of file Include.py.

◆ lineMarker

str python.Include.lineMarker = '%3d'

Definition at line 28 of file Include.py.

◆ log

python.Include.log = Logging.logging.getLogger( 'Athena' )

Definition at line 50 of file Include.py.

◆ marker

str python.Include.marker = ' -+-'

Definition at line 21 of file Include.py.

◆ optionsPath

python.Include.optionsPath = re.split( ',|' + os.pathsep, optionsPathEnv )

Definition at line 62 of file Include.py.

◆ optionsPathEnv

python.Include.optionsPathEnv = os.curdir

Definition at line 60 of file Include.py.

◆ returnMarker

str python.Include.returnMarker = 'R'

Definition at line 27 of file Include.py.

◆ silentMarker

str python.Include.silentMarker = ' '

Definition at line 23 of file Include.py.

◆ tracedMarker

str python.Include.tracedMarker = 'T'

Definition at line 25 of file Include.py.