Skip Montanaro <skip@pobox.com> writes: > I just noticed the bsddb module barfs on Unicode objects. Is it worth > updating it to handle them transparently? Or does the "explicit is better > than implicit" rubric hold here? bsddb implements a byte-string keys, byte-string values mapping; see http://www.sleepycat.com/docs/api_cxx/dbt_class.html If you want anything else (such as text), you'll need to use shelve, or define your own mapping from bytes to your data types. Regards, Martin
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4