Xtreak
0d70227e41
Fix typos in docs and docstrings (GH-13745)
2019-06-03 01:12:33 +02:00
Francisco Facioni
ab0716ed1e
bpo-22102: Fixes zip files with disks set to 0 (GH-5985)
2019-05-28 19:15:11 -04:00
Jason R. Coombs
33e067d6a2
Add support for .parent and .joinpath in zipfile.Path ( #13213 )
2019-05-09 11:34:35 -04:00
Jason R. Coombs
b2758ff955
bpo-36832: add zipfile.Path ( #13153 )
...
* bpo-36832: add zipfile.Path
* bpo-36832: add documentation for zipfile.Path
* 📜 🤖 Added by blurb_it.
* Remove module reference from blurb.
* Sort the imports
* Update docstrings and docs per recommendations.
* Rely on test.support.temp_dir
* Signal that 'root' is the parameter.
* Correct spelling of 'mod'
* Convert docstring to comment for brevity.
* Fix more errors in the docs
2019-05-08 09:45:05 -04:00
Serhiy Storchaka
2524fdefc9
bpo-36434: Properly handle writing errors in ZIP files. (GH-12559)
...
Errors during writing no longer prevent to properly close
the ZIP file.
2019-03-30 08:25:19 +02:00
nick sung
53c2935dac
Fix typo duplicate period in a docstring in the zipfile module. (GH-12326)
2019-03-14 21:26:25 +02:00
Serhiy Storchaka
4bb186d7e2
bpo-32035: Fix words about strings and bytes in zipfile documentation. (GH-10592)
2018-11-25 09:51:14 +02:00
Silas Sewell
4ba3b50bfe
bpo-34472: Add data descriptor signature to zipfile (GH-8871)
...
This makes streamed zips compatible with MacOS Archive Utility and
other applications.
2018-09-18 20:00:05 +03:00
Serhiy Storchaka
9bdb7be482
bpo-34341: Fix appending to ZIP archives with the ZIP64 extension. (GH-8683)
2018-09-17 15:36:40 +03:00
Marcel Plch
77b112cd56
bpo-34097: Polish API design (GH-8725)
...
Move strict_timestamps to constructor.
2018-08-31 16:43:31 +02:00
Marcel Plch
a2fe1e52eb
bpo-34097: Add support for zipping files older than 1980-01-01 (GH-8270)
...
ZipFile can zip files older than 1980-01-01 and newer than 2107-12-31 using
a new strict_timestamps parameter at the cost of setting the timestamp
to the limit.
2018-08-02 15:04:52 +02:00
Mickaël Schoentgen
3f8c6913b8
bpo-34035: Fix several AttributeError in zipfile seek() methods. (GH-8527)
2018-07-29 21:26:52 +03:00
Bernhard M. Wiedemann
84521047e4
bpo-30693: zip+tarfile: sort directory listing ( #2263 )
...
tarfile and zipfile now sort directory listing to generate tar and zip archives
in a more reproducible way.
See also https://reproducible-builds.org/docs/stable-inputs/ on that topic.
2018-01-31 11:17:10 +01:00
John Jolly
066df4fd45
bpo-22908: Add seek and tell functionality to ZipExtFile (GH-4966)
...
This allows for nested zip files, tar files within zip files, zip files within tar files, etc.
Contributed by: John Jolly
2018-01-30 00:51:35 -08:00
Bo Bayles
ce237c7d58
bpo-21417: Add compresslevel= to the zipfile module (GH-5385)
...
This allows the compression level to be specified when writing zipfiles
(for the entire file *and* overridden on a per-file basis).
Contributed by Bo Bayles
2018-01-29 21:54:07 -08:00
Antoine Pitrou
a6a4dc816d
bpo-31370: Remove support for threads-less builds ( #3385 )
...
* Remove Setup.config
* Always define WITH_THREAD for compatibility.
2017-09-07 18:56:24 +02:00
Serhiy Storchaka
3763ea865c
Revert bpo-26293 for zipfile breakage. See also bpo-29094. ( #1484 )
2017-05-06 14:46:01 +03:00
Serhiy Storchaka
4c0d9ea995
bpo-30017: Allowed calling the close() method of the zip entry writer object ( #1041 )
...
multiple times. Writing to closed zip entry writer object now always produce
a ValueError.
2017-04-12 16:03:23 +03:00
Serhiy Storchaka
150cd1916a
bpo-29958: Minor improvements to zipfile and tarfile CLI. ( #944 )
2017-04-07 18:56:12 +03:00
Serhiy Storchaka
06e522521c
bpo-10030: Sped up reading encrypted ZIP files by 2 times. ( #550 )
2017-03-30 19:09:08 +03:00
Serhiy Storchaka
feccdb2a24
bpo-29774: Improve error reporting for corrupted extra field in ZIP file. ( #583 )
2017-03-09 17:34:03 +01:00
Serhiy Storchaka
8606e9524a
bpo-28231: The zipfile module now accepts path-like objects for external paths. ( #511 )
2017-03-08 14:37:51 +02:00
Serhiy Storchaka
67e1aa0b58
Issue #29094 : Offsets in a ZIP file created with extern file object and modes
...
"w" and "x" now are relative to the start of the file.
2017-01-02 01:43:02 +02:00
Serhiy Storchaka
e465a9af8e
Issue #29094 : Offsets in a ZIP file created with extern file object and modes
...
"w" and "x" now are relative to the start of the file.
2017-01-01 19:05:29 +02:00
Serhiy Storchaka
34cba33403
Issue #29094 : Offsets in a ZIP file created with extern file object and modes
...
"w" and "x" now are relative to the start of the file.
2017-01-01 19:00:30 +02:00