KEMBAR78
[3.11] gh-105375: Explicitly initialise all {Pickler,Unpickler}Object fields (#105686) by erlend-aasland · Pull Request #105711 · python/cpython · GitHub
Skip to content

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