[issue29222] Python3 interactive shell hangs on

2017-01-09 Thread Eryk Sun
Eryk Sun added the comment: As a workaround, the platform's default Ctrl+C handler should allow killing the process: >>> signal.signal(signal.SIGINT, signal.SIG_DFL) >>> counter = itertools.count() >>> 'count' in counter ^C But it's nowhere near as useful as a KeyboardInt

[issue29222] Python3 interactive shell hangs on

2017-01-09 Thread R. David Murray
R. David Murray added the comment: This is an instance of the the problem discussed in Issue 26351. -- nosy: +r.david.murray resolution: -> duplicate stage: -> resolved superseder: -> Occasionally check for Ctrl-C in long-running operations like sum _

[issue29222] Python3 interactive shell hangs on

2017-01-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue29222] Python3 interactive shell hangs on

2017-01-09 Thread Vex Woo
New submission from Vex Woo: I'v tested the following steps against python3.5 and python3.6. Python shell hangs on. $ python3.6 Python 3.6.0 (v3.6.0:41df79263a11, Dec 22 2016, 17:23:13) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for mo