-
-
Notifications
You must be signed in to change notification settings - Fork 31.5k
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
bpo-38094: Remove unneeded assignment in PyBytes_Concat() #15274
Conversation
It looks unneeded since its introduction in 161d695
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't it used here:
Line 2949 in 6d3905b
if (oldsize > PY_SSIZE_T_MAX - wb.len) { |
When |
closing and reopening to re-trigger bedevere |
Thanks @sir-sigurd for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
GH-15886 is a backport of this pull request to the 3.8 branch. |
Thanks @sir-sigurd for the PR, and @gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.8. |
GH-15887 is a backport of this pull request to the 3.8 branch. |
The `wb.len = -1` assignment is unneeded since its introduction in 161d695 as `PyObject_GetBuffer` always fills it in.
It looks unneeded since its introduction in 161d695
https://bugs.python.org/issue38094