Commit d7dd20b
committed
gh-82907: Document mtime=0 for reproducible tarfile gzip output
tarfile.open() already writes a fixed zero timestamp in the gzip header
when mtime=0 is passed, on both the 'w:gz' and 'w|gz' paths, producing
output that does not depend on the archive creation time. Document this
special value, matching the existing wording in the gzip module docs.1 parent 7241f27 commit d7dd20b
2 files changed
Lines changed: 6 additions & 1 deletion
File tree
- Doc/library
- Misc/NEWS.d/next/Documentation
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
148 | 150 | | |
149 | 151 | | |
150 | 152 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
0 commit comments