-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
[2.7] bpo-29960 _random.Random corrupted on exception in setstate(). … #1289
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
Conversation
|
@serhiy-storchaka Can you please check if I backported this correctly? There was a conflict in _randommodule.c which I have to resolve manually. Just making sure if everything is still in order. |
Modules/_randommodule.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
uint32_t is C99. Use unsigned long instead.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks, changed to unsigned long.
Modules/_randommodule.c
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Leave the 2.7 code at the right hand of assignment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changed.
|
Why you have removed the |
|
@serhiy-storchaka there's an email to python-committers about it, but the label was removed from GitHub entirely so I didn't specifically remove it just for this PR. |
2b9bd06 to
bd8bc50
Compare
…(GH-1019).
(cherry picked from commit 9616a82)