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 Embeddable Python exit not defined #73089

Closed
ethanhs mannequin opened this issue Dec 8, 2016 · 2 comments
Closed

Windows Embeddable Python exit not defined #73089

ethanhs mannequin opened this issue Dec 8, 2016 · 2 comments
Labels
OS-windows type-bug An unexpected behavior, bug, or error

Comments

@ethanhs
Copy link
Mannequin

ethanhs mannequin commented Dec 8, 2016

BPO 28903
Nosy @pfmoore, @tjguk, @zware, @zooba, @ethanhs
Superseder
  • bpo-28901: Windows: document that site is not imported by default by embeddable distribution
  • 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 2016-12-08.15:27:19.720>
    created_at = <Date 2016-12-08.08:34:03.841>
    labels = ['type-bug', 'OS-windows']
    title = 'Windows Embeddable Python exit not defined'
    updated_at = <Date 2016-12-08.15:27:19.719>
    user = 'https://github.com/ethanhs'

    bugs.python.org fields:

    activity = <Date 2016-12-08.15:27:19.719>
    actor = 'zach.ware'
    assignee = 'none'
    closed = True
    closed_date = <Date 2016-12-08.15:27:19.720>
    closer = 'zach.ware'
    components = ['Windows']
    creation = <Date 2016-12-08.08:34:03.841>
    creator = 'ethan smith'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 28903
    keywords = []
    message_count = 2.0
    messages = ['282697', '282711']
    nosy_count = 5.0
    nosy_names = ['paul.moore', 'tim.golden', 'zach.ware', 'steve.dower', 'ethan smith']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '28901'
    type = 'behavior'
    url = 'https://bugs.python.org/issue28903'
    versions = ['Python 3.6']

    @ethanhs
    Copy link
    Mannequin Author

    ethanhs mannequin commented Dec 8, 2016

    Hearing about the RC1 today, I downloaded the x64 Windows embeddable zip. I opened a Command Prompt window and ran python.exe to try it out.

    I was quite surprised when I ran:
    >>>exit()
    Traceback (most recent call last):
      File "<stdin>", line 1, in <module>
    NameError: name 'exit' is not defined

    I read through the notes on the embedded Python releases, but I did not see anything that would lead me to believe that exit should not defined.

    I also downloaded the distribution for 3.5.2, and did not have the same issue, which leads me to believe this is unintended behavior.

    If this behavior is intended, I do apologize for raising this issue.

    OS: Windows 10 x64.

    @ethanhs ethanhs mannequin added OS-windows type-bug An unexpected behavior, bug, or error labels Dec 8, 2016
    @zware
    Copy link
    Member

    zware commented Dec 8, 2016

    This is a duplicate of bpo-28901.

    @zware zware closed this as completed Dec 8, 2016
    @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
    OS-windows type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant