unicode and shelve

Guy Robinson guy at NOSPAM.r-e-d.co.nz
Tue Jun 29 14:24:17 CEST 2004


Hello,

When I try and create a unicode key with a shelve I get the following error:

"TypeError: String or Integer object expected for key, unicode found"

Is there anyway I can use unicode keys with shelve's?

TIA,

Guy



More information about the Python-list mailing list