[issue6077] Unicode issue with tempfile on Windows

2009-11-29 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: Fixed with r76593 (py3k) and r76594 (release31-maint) -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ _

[issue6077] Unicode issue with tempfile on Windows

2009-11-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: The patch looks ok to me. -- assignee: -> amaury.forgeotdarc nosy: +pitrou resolution: -> accepted stage: patch review -> commit review ___ Python tracker ___

[issue6077] Unicode issue with tempfile on Windows

2009-11-20 Thread Antoine Pitrou
Changes by Antoine Pitrou : -- components: +IO -Library (Lib) priority: -> normal stage: -> patch review versions: +Python 3.1, Python 3.2 -Python 3.0 ___ Python tracker ___ ___

[issue6077] Unicode issue with tempfile on Windows

2009-05-27 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: 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

[issue6077] Unicode issue with tempfile on Windows

2009-05-26 Thread Ugra Dániel
New submission from Ugra Dániel : Opening a file with tempfile.TemporaryFile using "wt+" mode, then reading content back, will cause reading to stop (without any exception) when encountering byte '0x1a' (aka. Ctrl+Z) on Windows even tough UTF-16 encoding is used. When using built-in open with the

[issue6077] Unicode issue with tempfile on Windows

2009-05-21 Thread Ezio Melotti
Changes by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyt