| Modifier and Type | Class and Description |
|---|---|
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| public static PyString | |
| public static final int | |
| public static final int | |
| public static final int | |
| private static Logger | |
| public static final int | |
| public static final int | |
| public static final int | |
| public static final int |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static PyObject | |
| public static void | |
| private static boolean | |
| public static PyObject | |
| public static PyObject | |
| pack-priv static _imp. | Returns: null if no module found otherwise module informationmodule name name, String a path String (Unicode file or directory name) entry, boolean if looking for a package only try to locate __init__ findingPackage, boolean preferSource)This needs to be consolidated with the code in |
| public static PyObject | |
| public static PyObject | |
| public static boolean | |
| public static boolean | |
| public static PyObject | Returns: the module callednamethe module name name, PyString to the compiled module (becomes pathname)__file__)Return a module with the given |
| public static PyObject | Returns: the module callednamethe module name name, PyString a file path that is not null (becomes pathname, PyObject __file__)stream from which the compiled code is taken file)Return a module with the given |
| public static PyObject | |
| public static PyObject | |
| public static PyObject | |
| public static PyObject | |
| public static PyObject | |
| public static boolean | Returns: true if the import lock is currently held, else false.Return true if the import lock is currently held, else false. |
| public static PyString | makeCompiledFilename(PyString filename)
Variant of |
| public static PyModule | |
| private static PyObject | |
| public static void | |
| public static PyObject |
| __doc__ | back to summary |
|---|---|
| public static PyString __doc__ | |
| C_BUILTIN | back to summary |
|---|---|
| public static final int C_BUILTIN | |
| C_EXTENSION | back to summary |
|---|---|
| public static final int C_EXTENSION | |
| IMP_HOOK | back to summary |
|---|---|
| public static final int IMP_HOOK | |
| logger | back to summary |
|---|---|
| private static Logger logger | |
| PKG_DIRECTORY | back to summary |
|---|---|
| public static final int PKG_DIRECTORY | |
| PY_COMPILED | back to summary |
|---|---|
| public static final int PY_COMPILED | |
| PY_FROZEN | back to summary |
|---|---|
| public static final int PY_FROZEN | |
| PY_SOURCE | back to summary |
|---|---|
| public static final int PY_SOURCE | |
| _imp | back to summary |
|---|---|
| public _imp() | |
| _load_compiled | back to summary |
|---|---|
| private static PyObject _load_compiled(String name, String pathname, PyObject file) | |
| acquire_lock | back to summary |
|---|---|
| public static void acquire_lock() Acquires the interpreter's import lock for the current thread. This lock should be used by import hooks to ensure thread-safety when importing modules. | |
| caseok | back to summary |
|---|---|
| private static boolean caseok(File file, String filename) | |
| find_module | back to summary |
|---|---|
| public static PyObject find_module(String name) | |
| find_module | back to summary |
|---|---|
| public static PyObject find_module(String name, PyObject path) | |
| findFromSource | back to summary |
|---|---|
| pack-priv static _imp. This needs to be consolidated with the code in
null if no module found otherwise module information | |
| get_magic | back to summary |
|---|---|
| public static PyObject get_magic() | |
| get_suffixes | back to summary |
|---|---|
| public static PyObject get_suffixes() | |
| is_builtin | back to summary |
|---|---|
| public static boolean is_builtin(String name) | |
| is_frozen | back to summary |
|---|---|
| public static boolean is_frozen(String name) | |
| load_compiled | back to summary |
|---|---|
| public static PyObject load_compiled(String name, PyString pathname) Return a module with the given the module called | |
| load_compiled | back to summary |
|---|---|
| public static PyObject load_compiled(String name, PyString pathname, PyObject file) Return a module with the given
the module called | |
| load_dynamic | back to summary |
|---|---|
| public static PyObject load_dynamic(String name, String pathname) | |
| load_dynamic | back to summary |
|---|---|
| public static PyObject load_dynamic(String name, String pathname, PyObject file) | |
| load_module | back to summary |
|---|---|
| public static PyObject load_module(String name, PyObject file, PyObject filename, PyTuple data) | |
| load_source | back to summary |
|---|---|
| public static PyObject load_source(String modname, String filename) | |
| load_source | back to summary |
|---|---|
| public static PyObject load_source(String modname, String filename, PyObject file) | |
| lock_held | back to summary |
|---|---|
| public static boolean lock_held() Return true if the import lock is currently held, else false.
| |
| makeCompiledFilename | back to summary |
|---|---|
| public static PyString makeCompiledFilename(PyString filename) Variant of | |
| new_module | back to summary |
|---|---|
| public static PyModule new_module(String name) | |
| newFile | back to summary |
|---|---|
| private static PyObject newFile(File file) | |
| release_lock | back to summary |
|---|---|
| public static void release_lock() Release the interpreter's import lock. | |
| reload | back to summary |
|---|---|
| public static PyObject reload(PyObject module) | |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv PyObject | |
| pack-priv String | |
| pack-priv String | |
| pack-priv String | |
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| file | back to summary |
|---|---|
| pack-priv PyObject file | |
| filename | back to summary |
|---|---|
| pack-priv String filename | |
| mode | back to summary |
|---|---|
| pack-priv String mode | |
| suffix | back to summary |
|---|---|
| pack-priv String suffix | |
| type | back to summary |
|---|---|
| pack-priv int type | |
| ModuleInfo | back to summary |
|---|---|
| pack-priv ModuleInfo(PyObject file, String filename, String suffix, String mode, int type) | |