Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[3.13] gh-132869: Fix crash in_PyObject_TryGetInstanceAttribute#133700

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
methane merged 1 commit intopython:3.13fromcolesbury:gh-132869-3.13
May 14, 2025

Conversation

colesbury
Copy link
Contributor

@colesburycolesbury commentedMay 8, 2025
edited by bedevere-appbot
Loading

This fixes a crash in_PyObject_TryGetInstanceAttribute due to the use of_PyDictKeys_StringLookup on an unlocked dictionary that may be concurrently modified.

The underlying bug was already fixed in 3.14 and the main branch.

(partially cherry picked from commit1b15c89)

This fixes a crash in `_PyObject_TryGetInstanceAttribute` due to the useof `_PyDictKeys_StringLookup` on an unlocked dictionary that may beconcurrently modified.The underlying bug was already fixed in 3.14 and the main branch.(partially cherry picked from commit1b15c89)
#endif

static Py_ssize_t
unicodekeys_lookup_split(PyDictKeysObject* dk, PyObject *key, Py_hash_t hash)
Copy link
ContributorAuthor

Choose a reason for hiding this comment

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

FYI, thedictobject.c changes are taken verbatim from main

@hawkinsp
Copy link
Contributor

Thanks@colesbury !

@hawkinsp
Copy link
Contributor

Looks like this still needs merging?

@methanemethane merged commite1cc789 intopython:3.13May 14, 2025
41 checks passed
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@methanemethanemethane approved these changes

@mpagempagempage approved these changes

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

4 participants
@colesbury@hawkinsp@methane@mpage

[8]ページ先頭

©2009-2025 Movatter.jp