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

Windows launcher exits with error after listing available versions #78713

Closed
bgerrity mannequin opened this issue Aug 28, 2018 · 4 comments
Closed

Windows launcher exits with error after listing available versions #78713

bgerrity mannequin opened this issue Aug 28, 2018 · 4 comments
Labels
3.7 (EOL) end of life 3.8 only security fixes easy OS-windows type-bug An unexpected behavior, bug, or error

Comments

@bgerrity
Copy link
Mannequin

bgerrity mannequin commented Aug 28, 2018

BPO 34532
Nosy @terryjreedy, @pfmoore, @tjguk, @zware, @zooba, @miss-islington, @bgerrity
PRs
  • bpo-34532: Fixed exit code for py.exe list versions arg #9039
  • [3.7] bpo-34532: Fixed exit code for py.exe list versions arg (GH-9039) #10622
  • 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-20.21:32:38.291>
    created_at = <Date 2018-08-28.17:12:38.695>
    labels = ['easy', '3.8', 'type-bug', '3.7', 'OS-windows']
    title = 'Windows launcher exits with error after listing available versions'
    updated_at = <Date 2018-11-20.21:48:38.519>
    user = 'https://github.com/bgerrity'

    bugs.python.org fields:

    activity = <Date 2018-11-20.21:48:38.519>
    actor = 'miss-islington'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-11-20.21:32:38.291>
    closer = 'steve.dower'
    components = ['Windows']
    creation = <Date 2018-08-28.17:12:38.695>
    creator = 'bgerrity'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 34532
    keywords = ['patch', 'easy (C)']
    message_count = 4.0
    messages = ['324265', '324488', '330154', '330156']
    nosy_count = 7.0
    nosy_names = ['terry.reedy', 'paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'miss-islington', 'bgerrity']
    pr_nums = ['9039', '10622']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue34532'
    versions = ['Python 3.7', 'Python 3.8']

    @bgerrity
    Copy link
    Mannequin Author

    bgerrity mannequin commented Aug 28, 2018

    When any of the list available pythons arguments is used (e.g. py -0), the launcher exits with the error code 103 RC_NO_PYTHON.

    This is inconsistent with the launcher's -h help argument, which exits with a 0.

    @bgerrity bgerrity mannequin added 3.7 (EOL) end of life 3.8 only security fixes OS-windows type-bug An unexpected behavior, bug, or error labels Aug 28, 2018
    @terryjreedy
    Copy link
    Member

    I shrank the title to fit in the space and clarified that it does list the versions (at least on my Win 10). So this is invisible in normal use.

    @terryjreedy terryjreedy changed the title Python launcher on Windows exits with error when requesting list of available versions Windows launcher exits with error after listing available versions Sep 3, 2018
    @zooba
    Copy link
    Member

    zooba commented Nov 20, 2018

    New changeset c8fe9cc by Steve Dower (Brendan Gerrity) in branch 'master':
    bpo-34532: Fixed exit code for py.exe list versions arg (GH-9039)
    c8fe9cc

    @zooba zooba closed this as completed Nov 20, 2018
    @miss-islington
    Copy link
    Contributor

    New changeset 129642a by Miss Islington (bot) in branch '3.7':
    bpo-34532: Fixed exit code for py.exe list versions arg (GH-9039)
    129642a

    @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 3.8 only security fixes easy OS-windows type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    4 participants