Guido van Rossum wrote:
I see four tests fail that passed yesterday:
[...]
< test_threaded_import
Patch attached.
Need any comments?
Index: Lib/tempfile.py
===================================================================
--- Lib/tempfile.py	(revision 56982)
+++ Lib/tempfile.py	(working copy)
@@ -197,7 +197,7 @@
             filename = _os.path.join(dir, name)
             try:
                 fd = _os.open(filename, flags, 0o600)
-                fp = _io.open(fd, 'w')
+                fp = _io.open(fd, 'wb')
                 fp.write('blat')
                 fp.close()
                 _os.unlink(filename)
_______________________________________________
Python-3000 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-3000
Unsubscribe: 
http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com

Reply via email to