[Python-Dev] OT: fdopen on Windows question

"Martin v. Löwis" martin at v.loewis.de
Sat Oct 21 19:24:58 CEST 2006

skip at pobox.com schrieb:
> That is, can I change stdin from text to binary this way or is it destined
> to always be in text mode?

You can call _setmode on the file descriptor.


More information about the Python-Dev mailing list