summaryrefslogtreecommitdiffstats
path: root/Python/bltinmodule.c
diff options
context:
space:
mode:
authorEric Snow <ericsnowcurrently@gmail.com>2024-04-11 23:23:25 (GMT)
committerGitHub <noreply@github.com>2024-04-11 23:23:25 (GMT)
commitfd259fdabe95329768eb3e90039c77888c130a4c (patch)
treef4e564a993f0bf702c884ba3e96bdbb6e968fccb /Python/bltinmodule.c
parentfd2bab9d287ef0879568662d4fedeae0a0c61d43 (diff)
downloadcpython-fd259fdabe95329768eb3e90039c77888c130a4c.zip
cpython-fd259fdabe95329768eb3e90039c77888c130a4c.tar.gz
cpython-fd259fdabe95329768eb3e90039c77888c130a4c.tar.bz2
gh-76785: Handle Legacy Interpreters Properly (gh-117490)
This is similar to the situation with threading._DummyThread. The methods (incl. __del__()) of interpreters.Interpreter objects must be careful with interpreters not created by interpreters.create(). The simplest thing to start with is to disable any method that modifies or runs in the interpreter. As part of this, the runtime keeps track of where an interpreter was created. We also handle interpreter "refcounts" properly.
Diffstat (limited to 'Python/bltinmodule.c')
0 files changed, 0 insertions, 0 deletions