-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
PyTupleObjects with an ob_size of 20 are not reused. #121439
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
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Comments
corona10
pushed a commit
that referenced
this issue
Jul 10, 2024
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 10, 2024
…ee_list to be reused (pythongh-121428) (cherry picked from commit 9585a1a) Co-authored-by: satori1995 <132636720+satori1995@users.noreply.github.com>
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this issue
Jul 10, 2024
…ee_list to be reused (pythongh-121428) (cherry picked from commit 9585a1a) Co-authored-by: satori1995 <132636720+satori1995@users.noreply.github.com>
noahbkim
pushed a commit
to hudson-trading/cpython
that referenced
this issue
Jul 11, 2024
…ee_list to be reused (pythongh-121428)
estyxx
pushed a commit
to estyxx/cpython
that referenced
this issue
Jul 17, 2024
…ee_list to be reused (pythongh-121428)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
interpreter-core
(Objects, Python, Grammar, and Parser dirs)
type-bug
An unexpected behavior, bug, or error
Bug report
Bug description:
In the
maybe_freelist_push
function, PyTupleObjects with an ob_size of 20 are being stored in the free_list for potential reuse. However, in themaybe_freelist_pop
function, these objects aren't actually being reused.I've already submitted a PR.
Here is the link to the PR: #121428
CPython versions tested on:
CPython main branch
Operating systems tested on:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: