Message187
JPython raises exceptions when trying to read a certain float value (in the
example
below) from a binary pickle file. The exception raised depends on what else is
in
the file. It works fine if I use dumps/loads instead of dump/load. CPython has
no
trouble with the same value, and the file produced by CPython is the same as the
one
produced by JPython, so I am pretty sure the problem is in JPython's loading.
The
same problem occurs (in JPython and not CPython) if I use the pickle module from
CPython 1.5.2
cPickle.dump(-0.094246583493305419, open('j','w'), 1)
cPickle.load(open('j'))
|
|
Date |
User |
Action |
Args |
2008-02-20 17:16:44 | admin | link | issue222869 messages |
2008-02-20 17:16:44 | admin | create | |
|