FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.13] gh-156196: Fix a failed assignment to a PyMemberDef attribute changing its value by serhiy-storchaka · Pull Request #156197 · python/cpython · GitHub

/ cpython Public

[3.13] gh-156196: Fix a failed assignment to a PyMemberDef attribute changing its value - #156197

Merged
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:gh-156196-member-set-order
Aug 21, 2026
Merged

[3.13] gh-156196: Fix a failed assignment to a PyMemberDef attribute changing its value#156197
serhiy-storchaka merged 1 commit into
python:3.13from
serhiy-storchaka:gh-156196-member-set-order

Conversation

serhiy-storchaka commented Aug 21, 2026
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

PyMember_SetOne() stored the result of the conversion before checking it for an error, so a failed assignment left a garbage value in the attribute. The value is now stored after the check, like in 3.14 (GH-123211).

…hanging its value

PyMember_SetOne() stored the result of the conversion before checking it
for an error.
serhiy-storchaka enabled auto-merge (squash) August 21, 2026 15:44
serhiy-storchaka merged commit e178a13 into python:3.13 Aug 21, 2026
44 checks passed
serhiy-storchaka deleted the gh-156196-member-set-order branch August 21, 2026 18:39
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

1 participant


Back | FazBrowse Home | New Git URL