Home
last modified time | relevance | path

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

/external/python/cpython2/Lib/
Dpkgutil.py260 if mod_type==imp.PY_SOURCE:
281 if mod_type==imp.PY_SOURCE:
298 if mod_type==imp.PY_SOURCE:
322 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},
1633 return fd->type == PY_SOURCE || fd->type == PY_COMPILED; in _PyImport_IsScript()
1915 case PY_SOURCE: in load_module()
1927 case PY_SOURCE: in load_module()
3431 if (setint(d, "PY_SOURCE", PY_SOURCE) < 0) goto failure; in initimp()
/external/python/cpython2/Tools/i18n/
Dpygettext.py270 if triple[2] == imp.PY_SOURCE][0]
314 if description[2] not in [imp.PY_SOURCE, imp.PKG_DIRECTORY]:
/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``,