[issue1771381] bsddb can't use unicode keys

2007-08-23 Thread Marc-Andre Lemburg

Marc-Andre Lemburg added the comment:

Unassigning since I don't know the details of bsddb.

--
assignee: lemburg - 

_
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



[issue1771381] bsddb can't use unicode keys

2007-08-23 Thread Gregory P. Smith

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