[issue24711] Document getpass.getpass behavior on ^C
Irit Katriel
report at bugs.python.org
Fri Dec 4 14:28:43 EST 2020
Irit Katriel <iritkatriel at yahoo.com> added the comment:
I don't see a difference between getpass and input in this respect:
----------------
import getpass
try:
getpass.getpass('getpass: ')
except:
pass
print('goodbye getpass')
try:
input('input: ')
except:
pass
print('goodbye input')
------------------
If I run that script and ^C after each prompt, I get this:
>python.bat x.py
Running Release|x64 interpreter...
getpass: goodbye getpass
input: goodbye input
----------
nosy: +iritkatriel
resolution: -> works for me
status: open -> pending
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue24711>
_______________________________________
More information about the Python-bugs-list
mailing list