[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
This commit is contained in:
Miss Islington (bot) 2023-06-01 15:24:55 -07:00 committed by GitHub
parent 83c7386cee
commit c38ceb032d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 26544 additions and 26462 deletions

File diff suppressed because it is too large Load diff