Home
last modified time | relevance | path

Searched refs:PY_COMPILED (Results 1 – 14 of 14) sorted by relevance

/external/python/cpython3/Lib/
Dimp.py38 PY_COMPILED = 2 variable
109 bytecode = [(s, 'rb', PY_COMPILED) for s in machinery.BYTECODE_SUFFIXES]
230 elif file is None and type_ in {PY_SOURCE, PY_COMPILED}:
235 elif type_ == PY_COMPILED:
Dpkgutil.py302 elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION):
324 elif mod_type==imp.PY_COMPILED:
344 elif mod_type==imp.PY_COMPILED:
362 elif mod_type in (imp.PY_SOURCE, imp.PY_COMPILED, imp.C_EXTENSION):
Dmodulefinder.py288 elif type == imp.PY_COMPILED:
/external/python/setuptools/setuptools/
Ddepends.py5 from imp import PKG_DIRECTORY, PY_COMPILED, PY_SOURCE, PY_FROZEN
115 if kind == PY_COMPILED:
/external/python/cpython2/Lib/
Dpkgutil.py260 elif mod_type in (imp.PY_COMPILED, imp.C_EXTENSION):
282 elif mod_type==imp.PY_COMPILED:
302 elif mod_type==imp.PY_COMPILED:
320 elif self.etc[2] in (imp.PY_SOURCE, imp.PY_COMPILED, imp.C_EXTENSION):
Dihooks.py67 from imp import C_EXTENSION, PY_SOURCE, PY_COMPILED
273 elif type == PY_COMPILED:
301 if inittype not in (PY_COMPILED, PY_SOURCE):
313 elif type == PY_COMPILED:
Dmodulefinder.py310 elif type == imp.PY_COMPILED:
Dpydoc.py286 kind = imp.PY_COMPILED
/external/python/cpython2/Python/
Dimportdl.h13 PY_COMPILED, enumerator
Dimport.c103 {"/pyc", "rb", PY_COMPILED},
112 {".pyc", "rb", PY_COMPILED},
1655 return fd->type == PY_SOURCE || fd->type == PY_COMPILED; in _PyImport_IsScript()
1938 case PY_COMPILED: in load_module()
1953 case PY_COMPILED: in load_module()
3454 if (setint(d, "PY_COMPILED", PY_COMPILED) < 0) goto failure; in initimp()
/external/python/cpython2/Doc/library/
Drexec.rst252 values are :const:`PY_SOURCE`, :const:`PY_COMPILED`, and :const:`C_EXTENSION`.
254 :const:`PY_COMPILED` in subclasses is not recommended; an attacker could exit
Dimp.rst31 :const:`PY_SOURCE`, :const:`PY_COMPILED`, or :const:`C_EXTENSION`, described
146 .. data:: PY_COMPILED
Dpkgutil.rst130 ``imp.C_EXTENSION``, ``imp.PY_SOURCE``, ``imp.PY_COMPILED``,
/external/python/cpython3/Doc/library/
Dimp.rst40 :const:`PY_SOURCE`, :const:`PY_COMPILED`, or :const:`C_EXTENSION`, described
325 .. data:: PY_COMPILED