summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2008-11-21 00:17:53 (GMT)
committerBrett Cannon <bcannon@gmail.com>2008-11-21 00:17:53 (GMT)
commit58425d31036e07bb415e66d37d8bd59516595a9e (patch)
treefb0e7f0fa3d7cc2a31a2887b2bf279433135342a /Misc
parent6e0d68e9e25fd6ea692a74a57447e98b87a606ad (diff)
downloadcpython-58425d31036e07bb415e66d37d8bd59516595a9e.zip
cpython-58425d31036e07bb415e66d37d8bd59516595a9e.tar.gz
cpython-58425d31036e07bb415e66d37d8bd59516595a9e.tar.bz2
Make dbm.dumb encode strings as UTF-8. Also fix it so it accepts bytes and
strings. Closes issue #3799.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS5
1 files changed, 4 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 91df34f..9fb3ddd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -19,7 +19,7 @@ Core and Builtins
- Issue #3327: Don't overallocate in the modules_by_index list.
- Issue #1721812: Binary set operations and copy() returned the input type
- instead of the appropriate base type. This was incorrect because set
+ instead of the appropriate base type. This was incorrect because set
subclasses would be created without their __init__() method being called.
The corrected behavior brings sets into line with lists and dicts.
@@ -33,6 +33,9 @@ Core and Builtins
Library
-------
+- Issue #3799: Fix dbm.dumb to accept strings as well as bytes for keys. String
+ keys are now written out in UTF-8.
+
- Issue #4338: Fix distutils upload command.
- Issue #4354: Fix distutils register command.