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 davidism
Recipients davidism, docs@python, iritkatriel, untitaker
Date 2022-01-17.21:12:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1642453928.92.0.330974854441.issue24711@roundup.psfhosted.org>
In-reply-to
Content
I can reproduce this on Python 3.10. 
Actually, `input` and `getpass` both seem to have this behavior now. Please reopen it.

```python
import getpass

try:
    getpass.getpass("in: ")
except:
    pass

print("done")
```

```
$ python example.py
getpass: ^D done
$
```

Run this and press `Ctrl+D` or `Ctrl+C`. The shell prompt appears on the same line rather than the next line.
History
Date User Action Args
2022-01-17 21:12:09davidismsetrecipients: + davidism, docs@python, untitaker, iritkatriel
2022-01-17 21:12:08davidismsetmessageid: <1642453928.92.0.330974854441.issue24711@roundup.psfhosted.org>
2022-01-17 21:12:08davidismlinkissue24711 messages
2022-01-17 21:12:08davidismcreate