Message32146
If an object containing a random.Random instance is pickled on a 64-bit platform, unpickling the result on a 32-bit platform can cause an OverflowError:
File "/usr/local/lib/python2.4/random.py", line 140, in __setstate__
self.setstate(state)
File "/usr/local/lib/python2.4/random.py", line 125, in setstate
super(Random, self).setstate(internalstate)
OverflowError: long int too large to convert to int
I wasn't able to find any other tickets referring specifically to this. This is in Python 2.4.1 for sure, may be in later versions. |
|
Date |
User |
Action |
Args |
2007-08-23 14:54:19 | admin | link | issue1727780 messages |
2007-08-23 14:54:19 | admin | create | |
|