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 serhiy.storchaka
Recipients Dolda2000, benjamin.peterson, hynek, pitrou, r.david.murray, serhiy.storchaka, stutzbach
Date 2013-12-27.07:42:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1388130165.59.0.999570456648.issue20074@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2013-12-27 07:42:45serhiy.storchakasetrecipients: + serhiy.storchaka, pitrou, benjamin.peterson, stutzbach, r.david.murray, hynek, Dolda2000
2013-12-27 07:42:45serhiy.storchakasetmessageid: <1388130165.59.0.999570456648.issue20074@psf.upfronthosting.co.za>
2013-12-27 07:42:45serhiy.storchakalinkissue20074 messages
2013-12-27 07:42:45serhiy.storchakacreate