[New-bugs-announce] [issue1341] correction for test_fileinput in py3k on Windows

Amaury Forgeot d'Arc report at bugs.python.org
Sat Oct 27 01:59:30 CEST 2007

New submission from Amaury Forgeot d'Arc:

This patch corrects test_fileinput on Windows: when redirecting stdout,
os.open should be given O_BINARY, because the file descriptor is then
wrapped in a text-mode file; os.fdopen(fd, "w").

files: fileinput.diff
messages: 56833
nosy: amaury.forgeotdarc
severity: normal
status: open
title: correction for test_fileinput in py3k on Windows
Added file: http://bugs.python.org/file8623/fileinput.diff

Tracker <report at bugs.python.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fileinput.diff
Type: application/octet-stream
Size: 880 bytes
Desc: not available
Url : http://mail.python.org/pipermail/new-bugs-announce/attachments/20071026/a39dbda9/attachment.obj 

More information about the New-bugs-announce mailing list