Searched refs:PY_SOURCE (Results 1 – 19 of 19) sorted by relevance
/external/python/cpython3/Lib/ |
D | imp.py | 37 PY_SOURCE = 1 variable 108 source = [(s, 'r', PY_SOURCE) for s in machinery.SOURCE_SUFFIXES] 230 elif file is None and type_ in {PY_SOURCE, PY_COMPILED}: 233 elif type_ == PY_SOURCE:
|
D | pkgutil.py | 300 if mod_type==imp.PY_SOURCE: 321 if mod_type==imp.PY_SOURCE: 338 if mod_type==imp.PY_SOURCE: 362 elif mod_type in (imp.PY_SOURCE, imp.PY_COMPILED, imp.C_EXTENSION):
|
D | modulefinder.py | 108 stuff = ("", "r", imp.PY_SOURCE) 115 stuff = (ext, "r", imp.PY_SOURCE) 286 if type == imp.PY_SOURCE:
|
/external/python/setuptools/setuptools/ |
D | depends.py | 5 from imp import PKG_DIRECTORY, PY_COMPILED, PY_SOURCE, PY_FROZEN 120 elif kind == PY_SOURCE:
|
/external/python/cpython2/Lib/ |
D | pkgutil.py | 258 if mod_type==imp.PY_SOURCE: 279 if mod_type==imp.PY_SOURCE: 296 if mod_type==imp.PY_SOURCE: 320 elif self.etc[2] in (imp.PY_SOURCE, imp.PY_COMPILED, imp.C_EXTENSION):
|
D | ihooks.py | 67 from imp import C_EXTENSION, PY_SOURCE, PY_COMPILED 271 elif type == PY_SOURCE: 301 if inittype not in (PY_COMPILED, PY_SOURCE): 317 elif type == PY_SOURCE:
|
D | modulefinder.py | 132 stuff = ("", "r", imp.PY_SOURCE) 139 stuff = (ext, "r", imp.PY_SOURCE) 308 if type == imp.PY_SOURCE:
|
D | pyclbr.py | 146 if ty != imp.PY_SOURCE:
|
D | rexec.py | 156 ok_file_types = (imp.C_EXTENSION, imp.PY_SOURCE)
|
D | pydoc.py | 288 kind = imp.PY_SOURCE
|
/external/python/cpython2/Python/ |
D | importdl.h | 12 PY_SOURCE, enumerator
|
D | import.c | 102 {"/py", "U", PY_SOURCE}, 108 {".py", "U", PY_SOURCE}, 110 {".pyw", "U", PY_SOURCE}, 1655 return fd->type == PY_SOURCE || fd->type == PY_COMPILED; in _PyImport_IsScript() 1937 case PY_SOURCE: in load_module() 1949 case PY_SOURCE: in load_module() 3453 if (setint(d, "PY_SOURCE", PY_SOURCE) < 0) goto failure; in initimp()
|
/external/python/cpython2/Tools/i18n/ |
D | pygettext.py | 295 if description[2] not in [imp.PY_SOURCE, imp.PKG_DIRECTORY]: 328 if triple[2] == imp.PY_SOURCE][0]
|
/external/python/cpython2/Lib/idlelib/ |
D | EditorWindow.py | 47 if descr[2] == imp.PY_SOURCE: 54 if descr[2] != imp.PY_SOURCE: 68 descr = filename, None, imp.PY_SOURCE 673 if mtype != imp.PY_SOURCE:
|
/external/python/cpython2/Doc/library/ |
D | rexec.rst | 252 values are :const:`PY_SOURCE`, :const:`PY_COMPILED`, and :const:`C_EXTENSION`. 253 The value for :class:`RExec` is ``(C_EXTENSION, PY_SOURCE)``. Adding
|
D | imp.rst | 31 :const:`PY_SOURCE`, :const:`PY_COMPILED`, or :const:`C_EXTENSION`, described 141 .. data:: PY_SOURCE
|
D | pkgutil.rst | 130 ``imp.C_EXTENSION``, ``imp.PY_SOURCE``, ``imp.PY_COMPILED``,
|
/external/python/cpython3/Lib/test/ |
D | test_imp.py | 166 self.assertEqual(info[2], imp.PY_SOURCE)
|
/external/python/cpython3/Doc/library/ |
D | imp.rst | 40 :const:`PY_SOURCE`, :const:`PY_COMPILED`, or :const:`C_EXTENSION`, described 318 .. data:: PY_SOURCE
|