[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Drekin
Drekin added the comment: I have Windows Vista Business SP2, 64-bit, (6.0.6002). If I start Python any way (from console, from shortcut, via py.exe or not) the same behavior occurs. -- ___ Python tracker rep...@bugs.python.org

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Drekin
Drekin added the comment: However it raises the exception correctly in IDLE. The same behavior occured on Windows 7 Home Premium SP1, 64-bit, (6.1.7601). -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Tim Golden
Tim Golden added the comment: That's because IDLE uses a completely different input loop from the console interpreter. I'll try to get to this but I'm chock-a-block with other work at the moment. If anyone else wants to dig, please do so. if the worst came to the worst we could back out my

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Drekin
Drekin added the comment: There is related weird behavior: try: ... input() ... except KeyboardInterrupt: ... print(exception occured) ... # Ctrl-C hit Traceback (most recent call last): File stdin, line 2, in module KeyboardInterrupt During handling of the above exception, another

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Richard Oudkerk
Richard Oudkerk added the comment: Maybe this is related to http://bugs.python.org/issue13673 which causes PyTraceback_Print() to fail if a signal is received but PyErr_CheckSignals() has not been called. Note that wrapping in try: ... except: raise makes a traceback appear: try:

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Richard Oudkerk
Richard Oudkerk added the comment: Adding PyErr_CheckSignals() after PyOS_Readline() in builtin_input() seems to fix the problem. -- keywords: +patch Added file: http://bugs.python.org/file29666/input-ctrlc.patch ___ Python tracker

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Tim Golden
Tim Golden added the comment: +1 Richard - are you in a position to commit / push? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619 ___ ___

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Roundup Robot
Roundup Robot added the comment: New changeset 241cd716bf5f by Richard Oudkerk in branch '3.3': Issue #17619: Make input() check for Ctrl-C correctly on Windows. http://hg.python.org/cpython/rev/241cd716bf5f -- nosy: +python-dev ___ Python tracker

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Richard Oudkerk
Richard Oudkerk added the comment: Richard - are you in a position to commit / push? Done. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619 ___

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-03 Thread Richard Oudkerk
Changes by Richard Oudkerk shibt...@gmail.com: -- resolution: - fixed stage: - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619 ___

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-02 Thread Jesús Cea Avión
Changes by Jesús Cea Avión j...@jcea.es: -- title: input() swallows KeyboardInterrupt in Python 3.3 - MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: It may be related to the following commit: changeset: 77861:9523c122d6fc user:Tim Golden m...@timgolden.me.uk date:Fri Jun 29 18:39:26 2012 +0100 files: Parser/myreadline.c description: Issue #1677: Handle better a race condition between

[issue17619] MS WINDOWS: input() swallows KeyboardInterrupt in Python 3.3

2013-04-02 Thread STINNER Victor
STINNER Victor added the comment: @Drekin: What is your Windows version? How did you start Python? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue17619 ___