New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
32/64bit pickled Random incompatiblity #43245
Comments
The unsigned long integers which make up the state of a Random As a result, unpicking a Random instance from a 64bit machine on a 32bit >>> r32 = cPickle.load(open('r32_3.pickle'))
>>> for i in range(3):
... print r64.random(), r32.random()
...
0.237964627092 4292886520.32
0.544229225296 0.544229225296
0.369955166548 4292886520.19 |
Logged In: YES Peter, thanks for the report. Do you think you could work |
Logged In: YES OK, here is a candidate patch, though I don't know if it is the best way to do it |
Logged In: YES Tim, do you think we should require that the world not |
Logged In: YES
I don't understand the question. If a pre-2.5 pickle here While desirable, it's not really critical that a 2.5 pickle Does that answer the question? |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: