Message28296
Logged In: YES
user_id=320286
OK, here is a candidate patch, though I don't know if it is the best way to do it
or meets the style guidelines etc. It makes Random pickles interchangable
between 32bit and 64bit machines by encoding their states as Python long
integers. An old pre-patch 32bit pickle loaded on a 64bit machine still fails
(OverflowError: can't convert negative value to unsigned long) but I hope that
combination is rare enough to ignore. Also on a 32bit machine new Random
pickles can't be unpickled by a pre-patch python, but again there are limits to
sane backward compatability.
|
|
Date |
User |
Action |
Args |
2007-08-23 14:39:32 | admin | link | issue1472695 messages |
2007-08-23 14:39:32 | admin | create | |
|