commit | b4e85cadfbc2b1b24ec5f3159e351dbacedaa5e0 | [log] [tgz] |
---|---|---|
author | Victor Stinner <vstinner@python.org> | Tue Jun 23 11:33:18 2020 +0200 |
committer | GitHub <noreply@github.com> | Tue Jun 23 11:33:18 2020 +0200 |
tree | a121d0df89bdc965649d65a0ca50543293431e61 | |
parent | 26a1ad1c24717990265b71ed093d691500d6301c [diff] |
bpo-40521: Make dict free lists per-interpreter (GH-20645) Each interpreter now has its own dict free list: * Move dict free lists into PyInterpreterState. * Move PyDict_MAXFREELIST define to pycore_interp.h * Add _Py_dict_state structure. * Add tstate parameter to _PyDict_ClearFreeList() and _PyDict_Fini(). * In debug mode, ensure that the dict free lists are not used after _PyDict_Fini() is called. * Remove "#ifdef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS".