Skip to content

Conversation

corona10
Copy link
Member

@corona10 corona10 commented Aug 22, 2024

…_HINT`` (gh-123092)

(cherry picked from commit 297f2e0)

…R_WITH_HINT`` (pythongh-123092)

(cherry picked from commit 297f2e0)

Co-authored-by: Donghee Na <[email protected]>
/* Ensure dict is GC tracked if it needs to be */
if (!_PyObject_GC_IS_TRACKED(dict) && _PyObject_GC_MAY_BE_TRACKED(value)) {
_PyObject_GC_TRACK(dict);
}
/* PEP 509 */
dict->ma_version_tag = new_version;
dict->ma_version_tag = new_version; // PEP 509
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@colesbury
Since the structure is a little different from the main branch, I just reordered several codes to match as similar as possible.

@corona10 corona10 merged commit 6cd67e4 into python:3.13 Aug 22, 2024
57 of 59 checks passed
@corona10 corona10 deleted the backport-297f2e0-3.13 branch August 22, 2024 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants