Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32k
gh-133998: Fix gzip file creation when time is out of range#134278
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Changes from1 commit
64681af
3241cf2
79d8a72
e701310
90a881b
9638ca0
20da98a
File filter
Filter by extension
Conversations
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
- Loading branch information
Uh oh!
There was an error while loading.Please reload this page.
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -101,12 +101,12 @@ The module defines the following items: | ||
is no compression. The default is ``9``. | ||
The optional *mtime* argument is the timestamp requested by gzip. The time | ||
is in Unix format, i.e., seconds since 00:00:00 UTC, January 1, 1970. Set | ||
*mtime*to ``0`` to generate a compressed stream that does not depend on | ||
creation time. If *mtime* is omitted or ``None``, the current time is used; | ||
however, if the current time is outside the range 00:00:00 UTC, January 1, | ||
1970 through 06:28:15 UTC, February 7, 2106, then the value ``0`` is used | ||
instead. | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others.Learn more. The docs are slightly wrong now that | ||
See below for the :attr:`mtime` attribute that is set when decompressing. | ||