Zachary Ware added the comment: I can reproduce on Windows 10 with Pythons 2.7.11, 3.4.4, and 3.5.1 with the attached script. Examples:
E:\>ver Microsoft Windows [Version 10.0.10586] E:\>py ccbug.py 2.7.11 (v2.7.11:6d1b6a68f775, Dec 5 2015, 20:32:19) [MSC v.1500 32 bit (Intel)] Traceback (most recent call last): File "ccbug.py", line 12, in <module> data = input() E:\>py -3.4 ccbug.py 3.4.4 (v3.4.4:737efcadf5a6, Dec 20 2015, 19:28:18) [MSC v.1600 32 bit (Intel)] Traceback (most recent call last): File "ccbug.py", line 12, in <module> E:\>py -3.5 ccbug.py 3.5.1 (v3.5.1:37a07cee5969, Dec 6 2015, 01:54:25) [MSC v.1900 64 bit (AMD64)] Traceback (most recent call last): File "ccbug.py", line 12, in <module> ---------- title: Keyboard Interrupts not caught when used within a class method on Windows 10 -> KeyboardInterrupt while in input() not catchable on Windows 10 versions: +Python 3.5, Python 3.6 Added file: http://bugs.python.org/file42120/ccbug.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue26531> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com