gh-144411: Validate slotstate type in pickle.load_build()#144582
gh-144411: Validate slotstate type in pickle.load_build()#144582Krishna-web-hub wants to merge 4 commits intopython:mainfrom
Conversation
|
I don't think this actually makes the C and Python implementations equivalent. What happens if |
|
Hi @da-woods, if |
ZeroIntensity
left a comment
There was a problem hiding this comment.
I think something went wrong during the rebase?
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
870b85c to
d55fdbb
Compare
|
@ZeroIntensity ,I have made the requested changes; Please review again |
|
Thanks for making the requested changes! @ZeroIntensity: please review the changes made to this pull request. |
slotstateissue for an object’s__slots__saved during pickling.slotstatebehavior in pickle.py and _pickle.c .load_buildfunction checks ifslotstateis False, not a dict #144411