Mailing List Archive

[ python-Bugs-1771381 ] bsddb can't use unicode keys
Bugs item #1771381, was opened at 2007-08-10 04:32
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1771381&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Unicode
Group: Feature Request
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Erol Aktay (moghe)
Assigned to: M.-A. Lemburg (lemburg)
Summary: bsddb can't use unicode keys

Initial Comment:
bsddb throws a TypeError when I try to use an unicode string as key name;
i.e. bsddb.btopen("foobar", "c")[u'foo'] = "bar" fails

I discovered it while experimenting with the shelve module. You may find more information in the attached file.

Python version: 2.5.1
OS: Windows XP SP2 (5.1.2600)


----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1771381&group_id=5470
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/list-python-bugs%40lists.gossamer-threads.com