[New-bugs-announce] [issue26531] Keyboard Interrupts not caught when used within a class method on Windows 10

Joshua Cannell report at bugs.python.org
Thu Mar 10 11:18:45 EST 2016


New submission from Joshua Cannell:

There seems to be an issue capturing keyboard interrupts on Windows 10 when using raw_input() inside of a class method w/python 2.7.x.

So far I have tested this on:
2.7.11 x86 on Windows 10 x64 - Does not capture (Traceback)
2.7.11 x64 on Windows 10 x64 - Does not capture (Traceback)
2.7.11 x86 on Windows XP     - Does capture

So far I've only tested 2.7.11, so I don't know which other version may or may not be affected. The proof of concept code is attached.

If there is anything else I can provide to help, please let me know. I'm not accustomed to posting bugs here so I apologize if I've missed something.

----------
components: Windows
files: keyint_poc.py
messages: 261508
nosy: jecanne, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: Keyboard Interrupts not caught when used within a class method on Windows 10
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file42117/keyint_poc.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26531>
_______________________________________


More information about the New-bugs-announce mailing list