This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sligocki
Recipients melicertes, sligocki
Date 2007-09-16.05:14:40
SpamBayes Score 0.06272179
Marked as misclassified No
Message-id <1189919681.59.0.303789648609.issue1727780@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2007-09-16 05:14:41sligockisetspambayes_score: 0.0627218 -> 0.06272179
recipients: + sligocki, melicertes
2007-09-16 05:14:41sligockisetspambayes_score: 0.0627218 -> 0.0627218
messageid: <1189919681.59.0.303789648609.issue1727780@psf.upfronthosting.co.za>
2007-09-16 05:14:41sligockilinkissue1727780 messages
2007-09-16 05:14:40sligockicreate