Dict in binary pickle causes exception
greg
greg at cosc.canterbury.ac.nz
Fri Jul 19 20:23:01 EDT 2002
More information about the Python-list mailing list
Fri Jul 19 20:23:01 EDT 2002
- Previous message (by thread): UnicodeError: ASCII decoding error: ordinal not in range(128)
- Next message (by thread): Dict in binary pickle causes exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
When I try to unpickle a pickle containing a dictionary that was written in binary format, I get the following exception: TypeError: dict objects are unhashable The same thing happens whether I use pickle or cPickle to do the unpickling. Is this a known limitation, or a bug? The non-binary format handles dictionaries just fine, and I don't see why the format should make a difference to what is picklable. Also, I can't find any mention in the documentation about any additional restrictions when using the binary format. I'm using MacPython 2.2. Greg
- Previous message (by thread): UnicodeError: ASCII decoding error: ordinal not in range(128)
- Next message (by thread): Dict in binary pickle causes exception
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list