summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2008-11-22 00:41:45 (GMT)
committerBenjamin Peterson <benjamin@python.org>2008-11-22 00:41:45 (GMT)
commit44309e6b3768d6d559491ddf6ca56bfad2adb9b5 (patch)
tree5d71526f8d1b06a39c67191bf55e85e68c205c95 /Misc
parent656aa28cd50d00171d46df30eaeecd45eb0ae32c (diff)
downloadcpython-44309e6b3768d6d559491ddf6ca56bfad2adb9b5.zip
cpython-44309e6b3768d6d559491ddf6ca56bfad2adb9b5.tar.gz
cpython-44309e6b3768d6d559491ddf6ca56bfad2adb9b5.tar.bz2
make FileIO.mode always include 'b'
#4386 Reviewed by Amaury
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 1e61e54..4e797b2 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -48,6 +48,8 @@ Core and Builtins
Library
-------
+- FileIO's mode attribute now always includes ``"b"``.
+
- Issue #3799: Fix dbm.dumb to accept strings as well as bytes for keys. String
keys are now written out in UTF-8.