diff options
| author | Victor Stinner <vstinner@python.org> | 2020-12-26 00:45:43 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-26 00:45:43 (GMT) |
| commit | 41010184880151d6ae02a226dbacc796e5c90d11 (patch) | |
| tree | 5d87ed2b4392de3d7063b59f03d955b04f8b0eec /Python/ast.c | |
| parent | 77fde8dc16dc808b9f9838af1aa1253e15cab6ad (diff) | |
| download | cpython-41010184880151d6ae02a226dbacc796e5c90d11.zip cpython-41010184880151d6ae02a226dbacc796e5c90d11.tar.gz cpython-41010184880151d6ae02a226dbacc796e5c90d11.tar.bz2 | |
bpo-42745: Make the type cache per-interpreter (GH-23947)
Make the type attribute lookup cache per-interpreter.
Add private _PyType_InitCache() function, called by PyInterpreterState_New().
Continue to share next_version_tag between interpreters, since static
types are still shared by interpreters.
Remove MCACHE macro: the cache is no longer disabled if the
EXPERIMENTAL_ISOLATED_SUBINTERPRETERS macro is defined.
Diffstat (limited to 'Python/ast.c')
0 files changed, 0 insertions, 0 deletions
