[issue1341] correction for test_fileinput in py3k on Windows

2007-10-29 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks, good catch! Committed revision 58704. (in the py3k branch) -- nosy: +gvanrossum resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> ___

[issue1341] correction for test_fileinput in py3k on Windows

2007-10-26 Thread Martin v. Löwis
Changes by Martin v. Löwis: -- keywords: +patch __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.p

[issue1341] correction for test_fileinput in py3k on Windows

2007-10-26 Thread Amaury Forgeot d'Arc
Changes by Amaury Forgeot d'Arc: -- components: +Windows versions: +Python 3.0 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing li

[issue1341] correction for test_fileinput in py3k on Windows

2007-10-26 Thread Amaury Forgeot d'Arc
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.f