Gregory P. Smith added the comment:

The BerkeleyDB library operates on bytes only.  Unicode doesn't make
sense as a key without converting it to a particular encoding first. 
Use the unicode object's encode() method if you need to use it as a
database key or create a wrapper object or subclass of the db that
automatically does that for you as appropriate.

----------
assignee:  -> greg
nosy: +greg
resolution:  -> wont fix
status: open -> closed
versions: +Python 2.5

_____________________________________
Tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue1771381>
_____________________________________
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to