Author melicertes
Recipients
Date 2007-05-29.17:08:37
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
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.
History
Date User Action Args
2007-08-23 14:54:19adminlinkissue1727780 messages
2007-08-23 14:54:19admincreate