-
-
Notifications
You must be signed in to change notification settings - Fork 30.9k
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
gh-96046: Initialize ht_cached_keys in PyType_Ready() #96047
gh-96046: Initialize ht_cached_keys in PyType_Ready() #96047
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Want to make this a real PR? |
Sure! Do you agree with the proposed solution? |
Yes. There are additional sanity checks I want to do, but I'll do those in a separate PR. |
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.
LGTM but we need @vstinner to test if this works with his reproducer.
Misc/NEWS.d/next/Core and Builtins/2022-08-18-13-47-59.gh-issue-96046.5Hqbka.rst
Show resolved
Hide resolved
@vstinner Could you please create change proposals for your requests. That why I can easily commit them through GH UI. |
This seems to have suffered scope creep. Would it be possible to split it into two PRs, one with the original changes and one with all the changes to |
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.
LGTM.
IMO the NEWS entry belongs to the C API category, rather than Core and Builtins.
Hum, why did you revert changes, like using PyErr_NoMemory()? |
@tiran Could you put the |
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.
LGTM.
Thanks @tiran for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
GH-96164 is a backport of this pull request to the 3.11 branch. |
Automerge-Triggered-By: GH:tiran