tempfile's mkstemp(): Changed last argument from
binary=True
to
text=False
by BDFL Pronouncement. All other changes follow from this. The change
to the docs is ready to go, but blocked by another JackMacLock in the
doc directory.
diff --git a/Lib/test/test_pkg.py b/Lib/test/test_pkg.py
index 36ea95c..919a019 100644
--- a/Lib/test/test_pkg.py
+++ b/Lib/test/test_pkg.py
@@ -56,7 +56,7 @@
root = tempfile.mkdtemp()
mkhier(root, hier)
savepath = sys.path[:]
- fd, fname = tempfile.mkstemp(binary=False)
+ fd, fname = tempfile.mkstemp(text=True)
os.write(fd, code)
os.close(fd)
try: