[docs] [issue24711] Document getpass.getpass behavior on ^C

Markus Unterwaditzer report at bugs.python.org
Sat Jul 25 01:12:11 CEST 2015


New submission from Markus Unterwaditzer:

getpass.getpass doesn't enter a newline when the user aborts input with ^C, while input/raw_input does.

This behavior is surprising and can lead to mis-formatting of subsequent output. However, since this behavior exists since 2.7 and applications may have started to rely on it, I'd add a note to the documentation.

----------
assignee: docs at python
components: Documentation
messages: 247302
nosy: docs at python, untitaker
priority: normal
severity: normal
status: open
title: Document getpass.getpass behavior on ^C
versions: Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6

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


More information about the docs mailing list