mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
[3.9] bpo-40514: Remove --with-experimental-isolated-subinterpreters in 3.9 (GH-20228)
Remove --with-experimental-isolated-subinterpreters configure option in Python 3.9: the experiment continues in the master branch, but it's no longer needed in 3.9.
This commit is contained in:
parent
b008445a7b
commit
9512ad74b0
21 changed files with 7 additions and 236 deletions
|
@ -19,10 +19,7 @@ class object "PyObject *" "&PyBaseObject_Type"
|
|||
|
||||
#include "clinic/typeobject.c.h"
|
||||
|
||||
/* bpo-40521: Type method cache is shared by all subinterpreters */
|
||||
#ifndef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS
|
||||
# define MCACHE
|
||||
#endif
|
||||
#define MCACHE
|
||||
|
||||
#ifdef MCACHE
|
||||
/* Support type attribute cache */
|
||||
|
@ -63,10 +60,7 @@ static size_t method_cache_misses = 0;
|
|||
static size_t method_cache_collisions = 0;
|
||||
#endif
|
||||
|
||||
/* bpo-40521: Interned strings are shared by all subinterpreters */
|
||||
#ifndef EXPERIMENTAL_ISOLATED_SUBINTERPRETERS
|
||||
# define INTERN_NAME_STRINGS
|
||||
#endif
|
||||
#define INTERN_NAME_STRINGS
|
||||
|
||||
/* alphabetical order */
|
||||
_Py_IDENTIFIER(__abstractmethods__);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue