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

pyw.exe opens console window in Windows 10 #82540

Closed
AndrewUshakov mannequin opened this issue Oct 3, 2019 · 6 comments
Closed

pyw.exe opens console window in Windows 10 #82540

AndrewUshakov mannequin opened this issue Oct 3, 2019 · 6 comments
Assignees
Labels
3.8 only security fixes 3.9 only security fixes OS-windows release-blocker type-bug An unexpected behavior, bug, or error

Comments

@AndrewUshakov
Copy link
Mannequin

AndrewUshakov mannequin commented Oct 3, 2019

BPO 38359
Nosy @pfmoore, @tjguk, @ambv, @zware, @zooba, @miss-islington, @Harmon758
PRs
  • bpo-38359: Ensures pyw.exe launcher reads correct registry key #16561
  • [3.8] bpo-38359: Ensures pyw.exe launcher reads correct registry key (GH-16561) #16564
  • 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/zooba'
    closed_at = <Date 2019-10-14.21:45:39.035>
    created_at = <Date 2019-10-03.09:53:25.492>
    labels = ['type-bug', '3.8', '3.9', 'OS-windows', 'release-blocker']
    title = 'pyw.exe opens console window in Windows 10'
    updated_at = <Date 2019-10-14.21:45:39.034>
    user = 'https://bugs.python.org/AndrewUshakov'

    bugs.python.org fields:

    activity = <Date 2019-10-14.21:45:39.034>
    actor = 'lukasz.langa'
    assignee = 'steve.dower'
    closed = True
    closed_date = <Date 2019-10-14.21:45:39.035>
    closer = 'lukasz.langa'
    components = ['Windows']
    creation = <Date 2019-10-03.09:53:25.492>
    creator = 'Andrew Ushakov'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 38359
    keywords = ['patch', '3.8regression']
    message_count = 6.0
    messages = ['353836', '353852', '353856', '353862', '353864', '354666']
    nosy_count = 8.0
    nosy_names = ['paul.moore', 'tim.golden', 'lukasz.langa', 'zach.ware', 'steve.dower', 'miss-islington', 'Harmon758', 'Andrew Ushakov']
    pr_nums = ['16561', '16564']
    priority = 'release blocker'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue38359'
    versions = ['Python 3.8', 'Python 3.9']

    @AndrewUshakov
    Copy link
    Mannequin Author

    AndrewUshakov mannequin commented Oct 3, 2019

    pyw.exe (Python Launcher for Windows Version 3.8.121.1013) opens a console window at startup. To reproduce, run command below from the console:

    D:>pyw -c "import time; time.sleep(10)"

    By the way command:

    D:>pythomw -c "import time; time.sleep(10)"

    works as expected, silently.

    @AndrewUshakov AndrewUshakov mannequin added 3.8 only security fixes OS-windows type-bug An unexpected behavior, bug, or error labels Oct 3, 2019
    @zooba
    Copy link
    Member

    zooba commented Oct 3, 2019

    I know what this is - in bpo-38133 I added support for the PEP-514 ExecutablePath key, but didn't add a check for WindowedExecutablePath for the pyw.exe case.

    I'll add it.

    @zooba zooba added the 3.9 only security fixes label Oct 3, 2019
    @zooba zooba self-assigned this Oct 3, 2019
    @zooba
    Copy link
    Member

    zooba commented Oct 3, 2019

    New changeset 353fb1e by Steve Dower in branch 'master':
    bpo-38359: Ensures pyw.exe launcher reads correct registry key (GH-16561)
    353fb1e

    @miss-islington
    Copy link
    Contributor

    New changeset e74fa70 by Miss Islington (bot) in branch '3.8':
    bpo-38359: Ensures pyw.exe launcher reads correct registry key (GH-16561)
    e74fa70

    @zooba
    Copy link
    Member

    zooba commented Oct 3, 2019

    This is resolved as far as I'm concerned - leaving open for Łukasz to cherrypick and close.

    @ambv
    Copy link
    Contributor

    ambv commented Oct 14, 2019

    (3.8.0 is released with this fix)

    @ambv ambv closed this as completed Oct 14, 2019
    @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.8 only security fixes 3.9 only security fixes OS-windows release-blocker type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    3 participants