Message88411
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. |
|
Date |
User |
Action |
Args |
2009-05-27 11:23:52 | amaury.forgeotdarc | set | recipients:
+ amaury.forgeotdarc, ezio.melotti, daniel.ugra |
2009-05-27 11:23:52 | amaury.forgeotdarc | set | messageid: <1243423432.57.0.65900318374.issue6077@psf.upfronthosting.co.za> |
2009-05-27 11:23:51 | amaury.forgeotdarc | link | issue6077 messages |
2009-05-27 11:23:50 | amaury.forgeotdarc | create | |
|