Home
last modified time | relevance | path

Searched refs:PY_SOURCE (Results 1 – 19 of 19) sorted by relevance

/external/python/cpython3/Lib/
Dimp.py37 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:
Dpkgutil.py300 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):
Dmodulefinder.py108 stuff = ("", "r", imp.PY_SOURCE)
115 stuff = (ext, "r", imp.PY_SOURCE)
286 if type == imp.PY_SOURCE:
/external/python/setuptools/setuptools/
Ddepends.py5 from imp import PKG_DIRECTORY, PY_COMPILED, PY_SOURCE, PY_FROZEN
120 elif kind == PY_SOURCE:
/external/python/cpython2/Lib/
Dpkgutil.py258 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):
Dihooks.py67 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:
Dmodulefinder.py132 stuff = ("", "r", imp.PY_SOURCE)
139 stuff = (ext, "r", imp.PY_SOURCE)
308 if type == imp.PY_SOURCE:
Dpyclbr.py146 if ty != imp.PY_SOURCE:
Drexec.py156 ok_file_types = (imp.C_EXTENSION, imp.PY_SOURCE)
Dpydoc.py288 kind = imp.PY_SOURCE
/external/python/cpython2/Python/
Dimportdl.h12 PY_SOURCE, enumerator
Dimport.c102 {"/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/
Dpygettext.py295 if description[2] not in [imp.PY_SOURCE, imp.PKG_DIRECTORY]:
328 if triple[2] == imp.PY_SOURCE][0]
/external/python/cpython2/Lib/idlelib/
DEditorWindow.py47 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/
Drexec.rst252 values are :const:`PY_SOURCE`, :const:`PY_COMPILED`, and :const:`C_EXTENSION`.
253 The value for :class:`RExec` is ``(C_EXTENSION, PY_SOURCE)``. Adding
Dimp.rst31 :const:`PY_SOURCE`, :const:`PY_COMPILED`, or :const:`C_EXTENSION`, described
141 .. data:: PY_SOURCE
Dpkgutil.rst130 ``imp.C_EXTENSION``, ``imp.PY_SOURCE``, ``imp.PY_COMPILED``,
/external/python/cpython3/Lib/test/
Dtest_imp.py166 self.assertEqual(info[2], imp.PY_SOURCE)
/external/python/cpython3/Doc/library/
Dimp.rst40 :const:`PY_SOURCE`, :const:`PY_COMPILED`, or :const:`C_EXTENSION`, described
318 .. data:: PY_SOURCE