This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients docs@python, iritkatriel, untitaker
Date 2020-12-04.19:28:43
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607110123.8.0.109428781123.issue24711@roundup.psfhosted.org>
In-reply-to
Content
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
History
Date User Action Args
2020-12-04 19:28:43iritkatrielsetrecipients: + iritkatriel, docs@python, untitaker
2020-12-04 19:28:43iritkatrielsetmessageid: <1607110123.8.0.109428781123.issue24711@roundup.psfhosted.org>
2020-12-04 19:28:43iritkatriellinkissue24711 messages
2020-12-04 19:28:43iritkatrielcreate