Lines Matching defs:Zip
1 """zipimport provides support for importing Python modules from Zip archives.
4 - zipimporter: a class; its constructor takes a path to a Zip archive.
12 to Zip archives.
54 'ZipImportError is raised if 'archivepath' doesn't point to a valid Zip
61 # Split the "subdirectory" from the Zip archive path, lookup a matching
81 raise ZipImportError('not a Zip file', path=path)
88 raise ZipImportError('not a Zip file', path=path)
310 _bootstrap._verbose_message('import {} # loaded from Zip {}', fullname, modpath)
343 # _zip_searchorder defines how we search for a module in the Zip
383 # Given a path to a Zip archive, build a dict, mapping file names
405 raise ZipImportError(f"can't open Zip file: {archive!r}", path=archive)
418 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
420 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
428 raise ZipImportError(f"can't read Zip file: {archive!r}",
436 raise ZipImportError(f"can't read Zip file: {archive!r}",
440 raise ZipImportError(f'not a Zip file: {archive!r}',
444 raise ZipImportError(f"corrupt Zip file: {archive!r}",
465 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
494 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
496 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
502 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
504 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
569 # Someone has a zlib.py[co] in their Zip file
586 # Given a path to a Zip file and a toc_entry, return the (uncompressed) data.
597 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
613 raise ZipImportError(f"can't read Zip file: {archive!r}", path=archive)
697 # Convert the date/time values found in the Zip archive to a value