[Python-Dev] OT: fdopen on Windows question (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Sat Oct 21 19:24:58 CEST 2006
- Previous message: [Python-Dev] OT: fdopen on Windows question
- Next message: [Python-Dev] Massive test_sqlite failure on Mac OSX ... sometimes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Regards, Martin
- Previous message: [Python-Dev] OT: fdopen on Windows question
- Next message: [Python-Dev] Massive test_sqlite failure on Mac OSX ... sometimes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]