[Python-3000-checkins] r67310 - in python/branches/py3k: Lib/dbm/dumb.py Lib/test/test_dbm_dumb.py Misc/NEWS

skip at pobox.com skip at pobox.com
Fri Nov 21 14:12:45 CET 2008


    Author: brett.cannon
    Date: Fri Nov 21 01:17:53 2008
    New Revision: 67310

    Log:
    Make dbm.dumb encode strings as UTF-8. Also fix it so it accepts bytes and
    strings.

    Closes issue #3799.

I'm not online right now so I can't verify this by reviewing the ticket, but
I thought Guido was of the opinion that the 3.0 version should be able to
read dumb dbms written by earlier Python versions.  That would mean that if
trying to read utf-8 content fails you need to fall back to latin-1.

Skip


More information about the Python-3000-checkins mailing list