diff options
author | Brett Cannon <bcannon@gmail.com> | 2008-11-21 00:17:53 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2008-11-21 00:17:53 (GMT) |
commit | 58425d31036e07bb415e66d37d8bd59516595a9e (patch) | |
tree | fb0e7f0fa3d7cc2a31a2887b2bf279433135342a /Misc | |
parent | 6e0d68e9e25fd6ea692a74a57447e98b87a606ad (diff) | |
download | cpython-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/NEWS | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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. |