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

idle3.2 on mac unresponsive on input() called from a source file #56062

Closed
JohnDeNero mannequin opened this issue Apr 16, 2011 · 2 comments
Closed

idle3.2 on mac unresponsive on input() called from a source file #56062

JohnDeNero mannequin opened this issue Apr 16, 2011 · 2 comments
Assignees
Labels
topic-IDLE type-bug An unexpected behavior, bug, or error

Comments

@JohnDeNero
Copy link
Mannequin

JohnDeNero mannequin commented Apr 16, 2011

BPO 11853
Nosy @ned-deily
Superseder
  • bpo-11088: IDLE on OS X with Cocoa Tk 8.5 can hang waiting on input / raw_input
  • Files
  • input.py: Example script file that will not run
  • 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/ned-deily'
    closed_at = <Date 2011-04-16.06:26:15.947>
    created_at = <Date 2011-04-16.03:48:27.006>
    labels = ['expert-IDLE', 'type-bug']
    title = 'idle3.2 on mac unresponsive on input() called from a source file'
    updated_at = <Date 2011-04-16.06:26:15.946>
    user = 'https://bugs.python.org/JohnDeNero'

    bugs.python.org fields:

    activity = <Date 2011-04-16.06:26:15.946>
    actor = 'ned.deily'
    assignee = 'ned.deily'
    closed = True
    closed_date = <Date 2011-04-16.06:26:15.947>
    closer = 'ned.deily'
    components = ['IDLE']
    creation = <Date 2011-04-16.03:48:27.006>
    creator = 'John.DeNero'
    dependencies = []
    files = ['21679']
    hgrepos = []
    issue_num = 11853
    keywords = []
    message_count = 2.0
    messages = ['133878', '133882']
    nosy_count = 2.0
    nosy_names = ['ned.deily', 'John.DeNero']
    pr_nums = []
    priority = 'normal'
    resolution = 'duplicate'
    stage = 'resolved'
    status = 'closed'
    superseder = '11088'
    type = 'behavior'
    url = 'https://bugs.python.org/issue11853'
    versions = ['Python 3.2']

    @JohnDeNero
    Copy link
    Mannequin Author

    JohnDeNero mannequin commented Apr 16, 2011

    idle3.2 becomes unresponsive if the input() function is called from a source file run via F5.

    To repeat:

    • Create a script file with the contents: "input()"
    • Press F5 to run
    • Idle is now unresponsive and ^C interrupt is not caught unless issued at the command line

    Note that calling input() from idle's interactive shell works fine, as does running the script from the command line.

    @JohnDeNero JohnDeNero mannequin added type-crash A hard crash of the interpreter, possibly with a core dump topic-IDLE labels Apr 16, 2011
    @ned-deily
    Copy link
    Member

    Thanks for the report. This is the same problem as reported in bpo-11088. A fix will be available in the next releases of Python 3.2 and 2.7. A workaround is to use the 32-bit-only version of Python 3.2 which uses the Tcl/Tk 8.4 or to not try to do input() in an editor window.

    @ned-deily ned-deily self-assigned this Apr 16, 2011
    @ned-deily ned-deily added type-bug An unexpected behavior, bug, or error and removed type-crash A hard crash of the interpreter, possibly with a core dump labels Apr 16, 2011
    @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
    topic-IDLE type-bug An unexpected behavior, bug, or error
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant