BPO | [43848](https://bugs.python.org/issue43848) --- | :--- Nosy | @jwuttke PRs | python/cpython#25410 *Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.* Show more details GitHub fields: ```python assignee = None closed_at = None created_at = labels = ['3.10', 'docs'] title = 'gzip.py: explain optional argument mtime' updated_at = user = 'https://github.com/jwuttke' ``` bugs.python.org fields: ```python activity = actor = 'jwuttke' assignee = 'docs@python' closed = False closed_date = None closer = None components = ['Documentation'] creation = creator = 'jwuttke' dependencies = [] files = [] hgrepos = [] issue_num = 43848 keywords = ['patch'] message_count = 1.0 messages = ['391093'] nosy_count = 2.0 nosy_names = ['docs@python', 'jwuttke'] pr_nums = ['25410'] priority = 'normal' resolution = None stage = 'patch review' status = 'open' superseder = None type = None url = 'https://bugs.python.org/issue43848' versions = ['Python 3.10'] ```
Activity
jwuttke commentedon Apr 14, 2021
Explain the data type of optional argument mtime: seconds since the epoch.
As an alternative to mtime = None, recommend mtime = 0 for generating deterministic streams.
gzip -n(omit timestamp and original file name) in gzip module #82906 as a duplicate of this issue