[PYTHON MATRIX-SIG] pickle error on Win95

Groma Geza GROMA@everx.szbk.u-szeged.hu
Tue, 19 Mar 1996 12:23:34 MET


I  built v0.35 on Win95 by Symantec C++ 7.3. No compilation error
occured. I realized that TestSuite was not updated to this version.
The following error, however, probably  is not related to that.
Running TestPickle resulted in:

pickle.load(fp) ->
Bad result:  EOFError: None
Traceback (innermost last):
  File "<stdin>", line 1, in ?
  File "c:\Python\Lib\ArrayTest\TestPickle.py", line 31, in ?
    do_eval(test, initialize = init)
  File "c:\Python\Lib\ArrayTest\TestUtils.py", line 51, in do_eval
    raise ValueError, "Bad result"
ValueError: Bad result

Is that a bug in the pickling routines, or can be fixed by a proper compiler flag?
This is the hex dump of file 'matrix.save' created by TestPickle: 

4D 69 4C 34   20 32 20 33   20 34 20 0D   0A 00 00 00
00 01 00 00   00 02 00 00   00 03 00 00   00 0D 0A 00
00 00 0B 00   00 00 0C 00   00 00 0D 00   00 00 14 00
00 00 15 00   00 00 16 00   00 00 17 00   00 00 64 00
00 00 65 00   00 00 66 00   00 00 67 00   00 00 6E 00
00 00 6F 00   00 00 70 00   00 00 71 00   00 00 78 00
00 00 79 00   00 00 7A 00   00 00 7B 00   00 00 2E


Geza I. Groma
Institute of Biophysics
Biological Research Centre of Hungarian Academy of Sciences
Szeged, Hungary

=================
MATRIX-SIG  - SIG on Matrix Math for Python

send messages to: matrix-sig@python.org
administrivia to: matrix-sig-request@python.org
=================