-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
gh-126980: Fix bytearray.__buffer__
crash on PyBUF_{READ,WRITE}
#126981
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
I don't think I wrote |
Co-authored-by: Victor Stinner <[email protected]>
This needs backport to 3.13: https://github.com/python/cpython/blob/3.13/Objects/abstract.c#L770-L774 |
Thanks @sobolevn for the PR 🌮🎉.. I'm working now to backport this PR to: 3.13. |
Sorry, @sobolevn, I could not cleanly backport this to
|
Will do a manual one. |
…EAD,WRITE}` (pythonGH-126981) (cherry picked from commit 3932e1d) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
…EAD,WRITE}` (pythonGH-126981) (cherry picked from commit 3932e1d) Co-authored-by: sobolevn <[email protected]> Co-authored-by: Victor Stinner <[email protected]>
GH-127023 is a backport of this pull request to the 3.13 branch. |
…ITE}` (GH-126981) (#127023) (cherry picked from commit 3932e1d) Co-authored-by: Victor Stinner <[email protected]>
…TE}` (python#126981) Co-authored-by: Victor Stinner <[email protected]>
Related #114802
@JelleZijlstra, since you are
__buffer__
PEP author, could you please take a look? :)bytearray().__buffer__(256)
crashes #126980