Skip to content

gh-128133: Added relaxed atomics to bytes_hash - #128412

Merged
kumaraditya303 merged 9 commits into
python:mainfrom
abhijeetsharma200:gh-128133-bytes_hash-atomics
Jan 3, 2025
Merged

gh-128133: Added relaxed atomics to bytes_hash#128412
kumaraditya303 merged 9 commits into
python:mainfrom
abhijeetsharma200:gh-128133-bytes_hash-atomics

Conversation

@abhijeetsharma200

@abhijeetsharma200 abhijeetsharma200 commented Jan 2, 2025

Copy link
Copy Markdown
Contributor

@ghost

ghost commented Jan 2, 2025

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

@bedevere-app

bedevere-app Bot commented Jan 2, 2025

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Comment thread Objects/bytesobject.c
@bedevere-app

bedevere-app Bot commented Jan 2, 2025

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app

bedevere-app Bot commented Jan 2, 2025

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

@bedevere-app

bedevere-app Bot commented Jan 2, 2025

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Comment thread Objects/bytesobject.c Outdated
Comment thread Objects/bytesobject.c Outdated
Comment thread Objects/bytesobject.c Outdated
Comment thread Objects/bytesobject.c
@bedevere-app

bedevere-app Bot commented Jan 2, 2025

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

Comment thread Objects/bytesobject.c Outdated
@ngoldbaum

Copy link
Copy Markdown
Contributor

@kumaraditya303 can this get a backport to 3.13? It looks like PyO3 reliably hits a race in the bytes hash on module import. PyO3/pyo3#4904 (comment)

@colesbury colesbury added the needs backport to 3.13 bugs and security fixes label Feb 11, 2025
@miss-islington-app

Copy link
Copy Markdown

Thanks @abhijeetsharma200 for the PR, and @kumaraditya303 for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13.
🐍🍒⛏🤖

@miss-islington-app

Copy link
Copy Markdown

Sorry, @abhijeetsharma200 and @kumaraditya303, I could not cleanly backport this to 3.13 due to a conflict.
Please backport using cherry_picker on command line.

cherry_picker 0706bab1c0985761cdbc07ab448f98c717276b36 3.13

colesbury pushed a commit to colesbury/cpython that referenced this pull request Feb 11, 2025
…GH-128412)

(cherry picked from commit 0706bab)

Co-authored-by: Abhijeet <abhijeetsharma2002@gmail.com>
@bedevere-app

bedevere-app Bot commented Feb 11, 2025

Copy link
Copy Markdown

GH-130022 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.13 bugs and security fixes label Feb 11, 2025
Yhg1s pushed a commit that referenced this pull request Feb 12, 2025
…130022)

(cherry picked from commit 0706bab)

Co-authored-by: Abhijeet <abhijeetsharma2002@gmail.com>
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.

6 participants