Skip to content
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

[3.11] gh-105375: Explicitly initialise all {Pickler,Unpickler}Object fields (#105686) #105711

Merged

Conversation

erlend-aasland
Copy link
Contributor

@erlend-aasland erlend-aasland commented Jun 12, 2023

All fields must be explicitly initialised to prevent manipulation of
uninitialised fields in dealloc.

Align initialisation order with the layout of the object structs.

(cherry picked from commit ca3cc4b)

Co-authored-by: Erlend E. Aasland erlend.aasland@protonmail.com

…Object fields (python#105686)

All fields must be explicitly initialised to prevent manipulation of
uninitialised fields in dealloc.

Align initialisation order with the layout of the object structs.

(cherry picked from commit ca3cc4b)

Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
@kumaraditya303 kumaraditya303 disabled auto-merge June 13, 2023 06:24
@kumaraditya303 kumaraditya303 enabled auto-merge (squash) June 13, 2023 06:24
@kumaraditya303
Copy link
Contributor

Retrigged CI

@kumaraditya303 kumaraditya303 merged commit 36c393c into python:3.11 Jun 13, 2023
@erlend-aasland erlend-aasland deleted the backport-3.11-fix-pickle-newgcobj branch June 13, 2023 07:05
@erlend-aasland
Copy link
Contributor Author

Thanks, Kumar!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants