Message410824
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. |
|
Date |
User |
Action |
Args |
2022-01-17 21:12:09 | davidism | set | recipients:
+ davidism, docs@python, untitaker, iritkatriel |
2022-01-17 21:12:08 | davidism | set | messageid: <1642453928.92.0.330974854441.issue24711@roundup.psfhosted.org> |
2022-01-17 21:12:08 | davidism | link | issue24711 messages |
2022-01-17 21:12:08 | davidism | create | |
|