Skip to content

[3.13] gh-155835: fix digest_size and block_size data races on SHA-3 objects (GH-155838) - #157041

Merged
Yhg1s merged 3 commits into
python:3.13from
picnixz:backport-90ac539-3.13
Sep 29, 2026
Merged

Yhg1s merged 3 commits into
python:3.13from
picnixz:backport-90ac539-3.13

Conversation

@picnixz

@picnixz picnixz commented Sep 6, 2026 •

Copy link
Copy Markdown
Member

… on SHA-3 objects (pythonGH-155838)

(cherry picked from commit 90ac539)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>

@picnixz picnixz left a comment

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

There are some subtle changes here that I will need to check again because SHA3 in 3.13 is a bit different (no GC). Actually I don't know why SHA objects are actually GC tracked because they don't have any python containers as fields.

@picnixz
picnixz marked this pull request as ready for review September 6, 2026 15:04
@Yhg1s
Yhg1s enabled auto-merge (squash) September 29, 2026 21:33
@Yhg1s
Yhg1s merged commit 33a6511 into python:3.13 Sep 29, 2026
42 checks passed
@picnixz
picnixz deleted the backport-90ac539-3.13 branch September 29, 2026 22:13
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