Home | Top | ← | → | Overview | Module | Class | Index | Help |
|
About |
---|
|
||||
1 # -*- coding: utf-8 -*- 2 """'pysourceinfo' - Python RTTI based on 'inspect'""" 3 from __future__ import absolute_import 4 5 __author__ = 'Arno-Can Uestuensoez' 6 __license__ = "Artistic-License-2.0 + Forced-Fairplay-Constraints" 7 __copyright__ = "Copyright (C) 2010-2018 Arno-Can Uestuensoez" \ 8 " @Ingenieurbuero Arno-Can Uestuensoez" 9 __version__ = '0.1.34' 10 __uuid__ = 'efed42d3-f801-4fbb-abfd-bd598d683a82' 11 __docformat__ = "restructuredtext en" 12 1315 """Common parent exception for the *pysourceinfo* package."""18 19 from pythonids import PYV35Plus 20 if PYV35Plus: 21 from importlib import find_loader # @UnresolvedImport 22 23 24 # deprecated with 3.3/__pycache__, but still require these, going to use own values than 25 # re-map for smart import/export 26 MT_UNKNOWN = 0 27 MT_SOURCE = 1 #: same value as PY_SOURCE = 1 28 MT_COMPILED = 2 #: same value as PY_COMPILED = 2 29 MT_EXTENSION = 3 # : same value as C_EXTENSION = 3 30 MT_DIRECTORY = 5 # : same value as PKG_DIRECTORY = 5 31 MT_BUILTIN = 6 # : same value as C_BUILTIN = 6 32 MT_FROZEN = 7 # : same value as PY_FROZEN = 7 33 34 MT_COMPILED_OPT = 10 # : PY_COMPILED | <opt1 or opt2> # 2 | 8 35 MT_COMPILED_OPT1 = 18 # : PY_COMPILED | <opt1> # 2 | 16 36 MT_COMPILED_OPT2 = 34 # : PY_COMPILED | <opt2> # 2 | 32 37 MT_COMPILED_DEBUG = 66 # : PY_COMPILED | 0 # 2 | 64 38 39 40 # 41 # bits defining the evaluated package path 42 # from PYTHONPATH in case of multiple matches 43 # 44 P_FIRST = 1 #: first matched path-prefix 45 P_LAST = 2 #: last matched path-prefix 46 P_SHORTEST= 4 #: longest matched path-prefix 47 P_LONGEST = 8 #: longest matched path-prefix 48 P_IGNORE0 = 16 #: ignores sys.path[0] - the execution path 49 50 presolve = P_FIRST #: default value for sys.path resolution 51 52 53 # 54 # The representation format of OIDs. 55 # 56 OID_STR = 1 #: OID as dotted string representation 57 OID_TUPLE = 2 #: OID as tuple 58 OID_LIST = 3 #: OID as list 59 60 61 __all__ = [ 62 'bininfo', 63 "fileinfo.py", 64 "helper.py", 65 "infolists.py", 66 "objectinfo.py", 67 ] 6817 super(SourceInfoError, self).__init__(*args, **kw)
Home | Top | ← | → | Overview | Module | Class | Index | Help |
|
About |
---|
Copyright(C) 2019 Arno-Can Uestuensoez @Ingenieurbuero Arno-Can Uestuensoez | https://arnocan.wordpress.com |
Generated by Epydoc 4.0.4 / Python-3.8 / fedora27 on Fri Dec 13 10:01:45 2019 | http://epydoc.sourceforge.net |