mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Issue #19255: The builtins module is restored to initial value before
cleaning other modules. The sys and builtins modules are cleaned last.
This commit is contained in:
parent
8f9f0f12e8
commit
87a5c515d0
7 changed files with 96 additions and 39 deletions
|
@ -33,7 +33,6 @@ typedef struct _is {
|
|||
int codecs_initialized;
|
||||
int fscodec_initialized;
|
||||
|
||||
|
||||
#ifdef HAVE_DLOPEN
|
||||
int dlopenflags;
|
||||
#endif
|
||||
|
@ -41,6 +40,7 @@ typedef struct _is {
|
|||
int tscdump;
|
||||
#endif
|
||||
|
||||
PyObject *builtins_copy;
|
||||
} PyInterpreterState;
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue