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

zipfile.py script should print usage to stderr #72289

Closed
yaseppochi mannequin opened this issue Sep 12, 2016 · 6 comments
Closed

zipfile.py script should print usage to stderr #72289

yaseppochi mannequin opened this issue Sep 12, 2016 · 6 comments
Assignees
Labels
3.7 (EOL) end of life stdlib Python modules in the Lib dir type-feature A feature request or enhancement

Comments

@yaseppochi
Copy link
Mannequin

yaseppochi mannequin commented Sep 12, 2016

BPO 28102
Nosy @yaseppochi, @serhiy-storchaka
PRs
  • [Do Not Merge] Convert Misc/NEWS so that it is managed by towncrier #552
  • Files
  • zipfile-errmsg: patch to direct abort messages to stderr
  • 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 = 'https://github.com/serhiy-storchaka'
    closed_at = <Date 2016-09-13.06:27:46.124>
    created_at = <Date 2016-09-12.15:33:28.374>
    labels = ['3.7', 'type-feature', 'library']
    title = 'zipfile.py script should print usage to stderr'
    updated_at = <Date 2017-03-31.16:36:20.256>
    user = 'https://github.com/yaseppochi'

    bugs.python.org fields:

    activity = <Date 2017-03-31.16:36:20.256>
    actor = 'dstufft'
    assignee = 'serhiy.storchaka'
    closed = True
    closed_date = <Date 2016-09-13.06:27:46.124>
    closer = 'serhiy.storchaka'
    components = ['Library (Lib)']
    creation = <Date 2016-09-12.15:33:28.374>
    creator = 'sjt'
    dependencies = []
    files = ['44594']
    hgrepos = []
    issue_num = 28102
    keywords = ['patch']
    message_count = 6.0
    messages = ['276056', '276059', '276061', '276185', '276186', '276190']
    nosy_count = 4.0
    nosy_names = ['sjt', 'SilentGhost', 'python-dev', 'serhiy.storchaka']
    pr_nums = ['552']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue28102'
    versions = ['Python 3.7']

    @yaseppochi
    Copy link
    Mannequin Author

    yaseppochi mannequin commented Sep 12, 2016

    Pointed out by Serhiy Storchaka in a different context.

    @yaseppochi yaseppochi mannequin added 3.7 (EOL) end of life stdlib Python modules in the Lib dir labels Sep 12, 2016
    @yaseppochi
    Copy link
    Mannequin Author

    yaseppochi mannequin commented Sep 12, 2016

    CA pending (I have received PDF, but no star in tracker yet).

    @serhiy-storchaka
    Copy link
    Member

    I would request tests, but since currently there are no tests for command line interface to zipfile, it's okay. LGTM. Will commit right after beta 1 is tagged.

    @serhiy-storchaka serhiy-storchaka self-assigned this Sep 12, 2016
    @serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label Sep 12, 2016
    @python-dev
    Copy link
    Mannequin

    python-dev mannequin commented Sep 13, 2016

    New changeset 5e2780908857 by Serhiy Storchaka in branch 'default':
    Issue bpo-28102: The zipfile module CLI now prints usage to stderr.
    https://hg.python.org/cpython/rev/5e2780908857

    @serhiy-storchaka
    Copy link
    Member

    Thanks Stephen!

    @SilentGhost
    Copy link
    Mannequin

    SilentGhost mannequin commented Sep 13, 2016

    The status code in all those cases should have been 2.

    @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
    3.7 (EOL) end of life stdlib Python modules in the Lib dir type-feature A feature request or enhancement
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant