Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add 'x' mode to gzip.open() #63421

Closed
oylenshpeegul mannequin opened this issue Oct 10, 2013 · 2 comments
Closed

Add 'x' mode to gzip.open() #63421

oylenshpeegul mannequin opened this issue Oct 10, 2013 · 2 comments
Labels
stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@oylenshpeegul
Copy link
Mannequin

oylenshpeegul mannequin commented Oct 10, 2013

BPO 19222
Files
  • patch.gzip.py: Patch to allow option 'x' for the mode.
  • 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 2013-10-18.22:12:44.980>
    created_at = <Date 2013-10-10.21:32:12.476>
    labels = ['type-feature', 'library']
    title = "Add 'x' mode to gzip.open()"
    updated_at = <Date 2013-10-18.22:12:44.960>
    user = 'https://bugs.python.org/oylenshpeegul'

    bugs.python.org fields:

    activity = <Date 2013-10-18.22:12:44.960>
    actor = 'nadeem.vawda'
    assignee = 'nadeem.vawda'
    closed = True
    closed_date = <Date 2013-10-18.22:12:44.980>
    closer = 'nadeem.vawda'
    components = ['Library (Lib)']
    creation = <Date 2013-10-10.21:32:12.476>
    creator = 'oylenshpeegul'
    dependencies = []
    files = ['32039']
    hgrepos = []
    issue_num = 19222
    keywords = []
    message_count = 2.0
    messages = ['199416', '200314']
    nosy_count = 4.0
    nosy_names = ['nadeem.vawda', 'Arfrever', 'python-dev', 'oylenshpeegul']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue19222'
    versions = ['Python 3.4']

    @oylenshpeegul
    Copy link
    Mannequin Author

    oylenshpeegul mannequin commented Oct 10, 2013

    This is analogous to bpo-19201, but for gzip. Recent versions of Python have an 'x' mode for open, but gzip doesn't support it. It looks like everything is passed to builtins.open eventually, so if we just allow the 'x' option to pass through, all will be well.

    @oylenshpeegul oylenshpeegul mannequin added the type-feature A feature request or enhancement label Oct 10, 2013
    @Arfrever Arfrever mannequin added the stdlib Python modules in the Lib dir label Oct 12, 2013
    @Arfrever Arfrever mannequin changed the title gzip and 'x' mode open Add 'x' mode to gzip.open() Oct 12, 2013
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Oct 18, 2013

    New changeset a728a7d46553 by Nadeem Vawda in branch 'default':
    Issue bpo-19222: Add support for the 'x' mode to the gzip module.
    http://hg.python.org/cpython/rev/a728a7d46553

    @nadeemvawda nadeemvawda mannequin closed this as completed Oct 18, 2013
    @nadeemvawda nadeemvawda mannequin self-assigned this Oct 18, 2013
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    0 participants