[issue11236] getpass.getpass does not respond to ctrl-c or ctrl-z

Senthil Kumaran report at bugs.python.org
Thu Mar 24 15:19:16 CET 2011


Senthil Kumaran <orsenthil at gmail.com> added the comment:

Agree to removing of termios.ISIG so that we get a KeyBoardInterrupt exception raised when CNTL-C is pressed. Looking at discussion more carefully, it does not present any security risk.

Should this be fixed in 3.3 only with NEWS detailing the change in behavior (back to old 2.5 behavior) or should be this be backported?

Close similarity with getpass.c 's behavior had lent some to support to this change in 2.6. Changing now in older codeline has some chances of breaking others code.

Someone who has been affected by this change in behavior should provide some insights if back-porting would make sense.

----------
assignee:  -> orsenthil

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


More information about the Python-bugs-list mailing list