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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, daniel.ugra, ezio.melotti
Date 2009-05-27.11:23:49
SpamBayes Score 1.0334056e-07
Marked as misclassified No
Message-id <1243423432.57.0.65900318374.issue6077@psf.upfronthosting.co.za>
In-reply-to
Content
File descriptors wrapped by the new IO module should be opened in binary
mode.

The attached patch changes TemporaryFile and NamedTemporaryFile to
always call os.open() in binary mode; the mode is really used by the
io.open() function.

mkstemp() returns a raw file descriptor and was not changed.
History
Date User Action Args
2009-05-27 11:23:52amaury.forgeotdarcsetrecipients: + amaury.forgeotdarc, ezio.melotti, daniel.ugra
2009-05-27 11:23:52amaury.forgeotdarcsetmessageid: <1243423432.57.0.65900318374.issue6077@psf.upfronthosting.co.za>
2009-05-27 11:23:51amaury.forgeotdarclinkissue6077 messages
2009-05-27 11:23:50amaury.forgeotdarccreate