diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2023-06-01 22:24:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-01 22:24:55 (GMT) |
commit | c38ceb032d59d6c8f2006ab9a347d7e207f9f84e (patch) | |
tree | a75d62f7309df274b9608acf59edfba201c129c4 /Tools/scripts | |
parent | 83c7386cee59d8dfe9fa8f5db80ab4afeb3a7b8a (diff) | |
download | cpython-c38ceb032d59d6c8f2006ab9a347d7e207f9f84e.zip cpython-c38ceb032d59d6c8f2006ab9a347d7e207f9f84e.tar.gz cpython-c38ceb032d59d6c8f2006ab9a347d7e207f9f84e.tar.bz2 |
[3.12] gh-105020: Share tp_bases and tp_mro Between Interpreters For All Static Builtin Types (gh-105115) (gh-105124)
In gh-103912 we added tp_bases and tp_mro to each PyInterpreterState.types.builtins entry. However, doing so ignored the fact that both PyTypeObject fields are public API, and not documented as internal (as opposed to tp_subclasses). We address that here by reverting back to shared objects, making them immortal in the process.
(cherry picked from commit 7be667d)
Co-authored-by: Eric Snow ericsnowcurrently@gmail.com
Diffstat (limited to 'Tools/scripts')
0 files changed, 0 insertions, 0 deletions