gh-96046: Initialize ht_cached_keys in PyType_Ready()#96047
gh-96046: Initialize ht_cached_keys in PyType_Ready()#96047miss-islington merged 10 commits intopython:mainfrom
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. |
Fidget-Spinner
left a comment
There was a problem hiding this comment.
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 |
vstinner
left a comment
There was a problem hiding this comment.
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 |
|
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