[issue9393] shelve.open/bsddb.hashopen exception with unicode paths
STINNER Victor
report at bugs.python.org
Wed Jul 28 14:41:54 CEST 2010
STINNER Victor <victor.stinner at haypocalc.com> added the comment:
shelve uses anydbm which uses gdbm, dbm or bsddbm. Attached patch fixes gdbm and dbm (replace "s" format by "et" with Py_FileSystemDefaultEncoding).
bsddbm is harder to fix: bsdhashopen(), bsdbtopen() and bsdrnopen() have to be fixed, and they accept None for the filename ("z" format).
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9393>
_______________________________________
More information about the Python-bugs-list
mailing list