Skip to content

add mtime argument to gzip.compress #79079

Closed

Description

@guoci
mannequin
BPO 34898
Nosy @serhiy-storchaka, @guoci, @dhimmel, @sir-sigurd, @tirkarthi
PRs
  • bpo-34898: Add mtime argument to gzip.compress #9704
  • 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:

    assignee = None
    closed_at = <Date 2018-11-07.09:51:40.852>
    created_at = <Date 2018-10-04.21:22:04.656>
    labels = ['3.8', 'type-feature', 'library']
    title = 'add mtime argument to gzip.compress'
    updated_at = <Date 2019-08-23.15:19:25.401>
    user = 'https://github.com/guoci'

    bugs.python.org fields:

    activity = <Date 2019-08-23.15:19:25.401>
    actor = 'dhimmel'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-11-07.09:51:40.852>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2018-10-04.21:22:04.656>
    creator = 'guoci'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34898
    keywords = ['patch']
    message_count = 4.0
    messages = ['327088', '329408', '329409', '350307']
    nosy_count = 5.0
    nosy_names = ['serhiy.storchaka', 'guoci', 'dhimmel', 'sir-sigurd', 'xtreak']
    pr_nums = ['9704']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue34898'
    versions = ['Python 3.8']

    Activity

    1. guoci commented on Oct 4, 2018

      guocimannequin
      MannequinAuthor

      With the mtime argument, the output from gzip.compress can be reproducible.

    2. added
      3.7 (EOL)
      3.8 (EOL)
      stdlib
      on Oct 4, 2018
    3. serhiy-storchaka commented on Nov 7, 2018

      @serhiy-storchaka
      Member

      New changeset 0e7497c by Serhiy Storchaka (guoci) in branch 'master':
      bpo-34898: Add mtime parameter to gzip.compress(). (GH-9704)
      0e7497c

    4. serhiy-storchaka commented on Nov 7, 2018

      @serhiy-storchaka
      Member

      Thank you for your contribution!

    5. added
      type-feature
      on Nov 7, 2018
    6. dhimmel commented on Aug 23, 2019

      dhimmelmannequin
      Mannequin

      Any reason not to also expose mtime in the gzip.open API?

    7. transferred this issue fromon Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.8 (EOL)stdlibtype-feature

      Projects

      No projects

        Milestone

        No milestone

        Relationships

        None yet

        Development

        No branches or pull requests

        Issue actions