Message206982
> It's nice that that's at least possible, but I, for one, would still consider it a bug that it isn't possible to open it in text mode.
>>> io.TextIOWrapper(open("/dev/tty", "r+b", buffering=0))
<_io.TextIOWrapper name='/dev/tty' encoding='UTF-8'>
> Just to demonstrate failure of getpass, by the way:
Looks as this was fixed in issue18116 for 3.4. David, perhaps issue18116 should be backported to older Python versions. |
|
Date |
User |
Action |
Args |
2013-12-27 07:42:45 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, pitrou, benjamin.peterson, stutzbach, r.david.murray, hynek, Dolda2000 |
2013-12-27 07:42:45 | serhiy.storchaka | set | messageid: <1388130165.59.0.999570456648.issue20074@psf.upfronthosting.co.za> |
2013-12-27 07:42:45 | serhiy.storchaka | link | issue20074 messages |
2013-12-27 07:42:45 | serhiy.storchaka | create | |
|