[issue10837] Issue catching KeyboardInterrupt while reading stdin

2020-11-30 Thread Irit Katriel
Irit Katriel added the comment: Python 2-only issue. -- nosy: +iritkatriel resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2019-04-26 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2014-07-12 Thread Brian Curtin
Changes by Brian Curtin : -- nosy: -brian.curtin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2014-07-12 Thread Mark Lawrence
Mark Lawrence added the comment: I can confirm that this works fine with 3.4.1 and 3.5.0a0. I don't run 2.7 any more so I don't know if this is fixed in later versions. -- nosy: +BreamoreBoy versions: -Python 2.6, Python 3.1 ___ Python tracker

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2011-03-21 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: Sorry, forgot to mention my system. 64-bit Windows 7. -- ___ Python tracker ___ ___ Python-bugs-l

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2011-03-21 Thread Devin Jeanpierre
Devin Jeanpierre added the comment: I can confirm this behavior on 2.7. On 3.2 for me it prints "done.", but not "Interrupted!" -- nosy: +Devin Jeanpierre ___ Python tracker __

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2011-01-07 Thread Ned Deily
Changes by Ned Deily : -- nosy: +brian.curtin, tim.golden ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http:

[issue10837] Issue catching KeyboardInterrupt while reading stdin

2011-01-05 Thread Josh Hanson
New submission from Josh Hanson : Example code: try: sys.stdin.read() except KeyboardInterrupt: print "Interrupted!" except: print "Some other exception?" finally: print "cleaning up..." print "done." Test: run the code and hit ctrl-c while