This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author djc
Recipients djc, ed_abraham, flox, ivo, pitrou, skip.montanaro
Date 2010-03-04.18:48:22
SpamBayes Score 1.90779e-05
Marked as misclassified No
Message-id <>
Testing on Windows with this:

Index: Lib/test/
--- Lib/test/	(revision 78430)
+++ Lib/test/	(working copy)
@@ -9,6 +9,7 @@
 import tempfile
 import csv
 import gc
+import io
 from test import test_support
 class Test_Csv(unittest.TestCase):
@@ -595,7 +596,7 @@
     ### "short" means there are fewer elements in the row than fieldnames
     def test_write_simple_dict(self):
         fd, name = tempfile.mkstemp()
-        fileobj = os.fdopen(fd, "w+b")
+        fileobj =, 'w+b')
             writer = csv.DictWriter(fileobj, fieldnames = ["f1", "f2", "f3"])
Date User Action Args
2010-03-04 18:48:24djcsetrecipients: + djc, skip.montanaro, pitrou, ed_abraham, ivo, flox
2010-03-04 18:48:24djcsetmessageid: <>
2010-03-04 18:48:23djclinkissue1537721 messages
2010-03-04 18:48:23djccreate