/external/python/cpython3/Lib/importlib/ |
resources.py | 71 # zipimport.zipimporter does not support weak references, resulting in a 272 the zipimporter. 275 def __init__(self, zipimporter, fullname): 276 self.zipimporter = zipimporter 283 return BytesIO(self.zipimporter.get_data(path)) 299 self.zipimporter.get_data(path) 312 fullname_path = Path(self.zipimporter.get_filename(self.fullname)) 313 relative_path = fullname_path.relative_to(self.zipimporter.archive) 319 for filename in self.zipimporter._files [all...] |
/external/python/cpython3/Lib/test/ |
test_zipimport.py | 431 zi = zipimport.zipimporter(TEMP_ZIP) 437 self.assertIsInstance(find_mod, zipimport.zipimporter) 467 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK) 489 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir) 502 zi2 = zipimport.zipimporter(pkg_path) 505 self.assertIsInstance(find_mod_dotted, zipimport.zipimporter) 535 zi = zipimport.zipimporter(TEMP_ZIP) 537 self.assertIn('zipimporter object', repr(zi)) 553 zi = zipimport.zipimporter(TEMP_ZIP) 666 zipimport.zipimporter(filename).load_module(TESTMOD [all...] |
test_cmd_line_script.py | 260 zipimport.zipimporter) 268 zipimport.zipimporter) 291 script_dir, 'test_pkg', zipimport.zipimporter, 299 zipimport.zipimporter,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_zipimport.py | 216 zi = zipimport.zipimporter(TEMP_ZIP)
239 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK)
260 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir)
293 zi = zipimport.zipimporter(TEMP_ZIP)
295 self.assertIn('zipimporter object', repr(zi))
393 zipimport.zipimporter, filename)
402 self.assertRaises(TypeError, zipimport.zipimporter, None)
403 self.assertRaises(TypeError, zipimport.zipimporter, TESTMOD, kwd=None)
439 z = zipimport.zipimporter(TESTMOD)
|
/external/python/cpython2/Lib/test/ |
test_zipimport.py | 216 zi = zipimport.zipimporter(TEMP_ZIP) 239 zi2 = zipimport.zipimporter(TEMP_ZIP + os.sep + TESTPACK) 260 zi = zipimport.zipimporter(TEMP_ZIP + os.sep + packdir) 293 zi = zipimport.zipimporter(TEMP_ZIP) 295 self.assertIn('zipimporter object', repr(zi)) 393 zipimport.zipimporter, filename) 402 self.assertRaises(TypeError, zipimport.zipimporter, None) 403 self.assertRaises(TypeError, zipimport.zipimporter, TESTMOD, kwd=None) 439 z = zipimport.zipimporter(TESTMOD)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
pkgutil.py | 329 from zipimport import zipimporter
360 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
pkgutil.py | 321 from zipimport import zipimporter
352 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
|
/external/python/cpython2/Lib/ |
pkgutil.py | 327 from zipimport import zipimporter 358 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
|
/external/python/cpython3/Lib/ |
pkgutil.py | 369 from zipimport import zipimporter 399 iter_importer_modules.register(zipimporter, iter_zipimport_modules)
|
/external/python/cpython3/Python/ |
import.c | 114 _Py_IDENTIFIER(zipimporter); 115 PyObject *zipimporter = _PyObject_GetAttrId(zimpimport, local 118 if (zipimporter == NULL) { 119 PyErr_Clear(); /* No zipimporter object -- okay */ 122 "# can't import zipimport.zipimporter\n"); 125 /* sys.path_hooks.insert(0, zipimporter) */ 126 err = PyList_Insert(path_hooks, 0, zipimporter); 127 Py_DECREF(zipimporter); [all...] |
/external/python/cpython3/Lib/test/test_importlib/import_/ |
test_path.py | 102 new_path_hooks = [zipimport.zipimporter,
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/PyMod-2.7.2/Python/ |
import.c | 218 PyObject *zipimporter = PyObject_GetAttrString(zimpimport,
local 219 "zipimporter");
221 if (zipimporter == NULL) {
222 PyErr_Clear(); /* No zipimporter object -- okay */
225 "# can't import zipimport.zipimporter\n");
228 /* sys.path_hooks.append(zipimporter) */
229 err = PyList_Append(path_hooks, zipimporter);
230 Py_DECREF(zipimporter);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Python/ |
import.c | 246 PyObject *zipimporter = PyObject_GetAttrString(zimpimport,
local 247 "zipimporter");
249 if (zipimporter == NULL) {
250 PyErr_Clear(); /* No zipimporter object -- okay */
253 "# can't import zipimport.zipimporter\n");
256 /* sys.path_hooks.append(zipimporter) */
257 err = PyList_Append(path_hooks, zipimporter);
258 Py_DECREF(zipimporter);
[all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Python/ |
import.c | 218 PyObject *zipimporter = PyObject_GetAttrString(zimpimport,
local 219 "zipimporter");
221 if (zipimporter == NULL) {
222 PyErr_Clear(); /* No zipimporter object -- okay */
225 "# can't import zipimport.zipimporter\n");
228 /* sys.path_hooks.append(zipimporter) */
229 err = PyList_Append(path_hooks, zipimporter);
230 Py_DECREF(zipimporter);
[all...] |
/external/python/cpython2/Python/ |
import.c | 246 PyObject *zipimporter = PyObject_GetAttrString(zimpimport, local 247 "zipimporter"); 249 if (zipimporter == NULL) { 250 PyErr_Clear(); /* No zipimporter object -- okay */ 253 "# can't import zipimport.zipimporter\n"); 256 /* sys.path_hooks.append(zipimporter) */ 257 err = PyList_Append(path_hooks, zipimporter); 258 Py_DECREF(zipimporter); [all...] |
/external/python/setuptools/pkg_resources/ |
__init__.py | [all...] |
/external/python/setuptools/setuptools/command/ |
easy_install.py | [all...] |