[issue1727780] 64/32-bit issue when unpickling random.Random
sligocki
report at bugs.python.org
Sun Sep 16 07:14:41 CEST 2007
sligocki added the comment:
I've had this same problem with 2.5.1
Pickling random.getstate() on 64bit and then loading it back with
random.setstate() on 32bit does not work (crashes because of trying cast
64bit ints to 32bit).
The other way around is even worse. It loads but is in a faulty state,
where for example:
>>> random.randrange(1000)
49801980494
This seems like a bug to me.
----------
nosy: +sligocki
_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1727780>
_____________________________________
More information about the Python-bugs-list
mailing list