Issue222869
Created on 2000-11-18.19:43:36 by bckfnn, last changed 2000-11-18.23:14:58 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-18 19:43:36 | bckfnn | create |
Created on 2000-11-18.19:43:36 by bckfnn, last changed 2000-11-18.23:14:58 by bckfnn.
Messages | |||
---|---|---|---|
msg187 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.19:43:36 | |
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')) |
|||
msg188 (view) | Author: Finn Bock (bckfnn) | Date: 2000-11-18.23:14:58 | |
Fixed, but the files must be opened in binary mode. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-18 19:43:36 | bckfnn | create |
Supported by Python Software Foundation,
Powered by Roundup