mirror of https://github.com/python/cpython
fd259fdabe
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. |
||
---|---|---|
.. | ||
__init__.py | ||
__main__.py | ||
test_api.py | ||
test_channels.py | ||
test_lifecycle.py | ||
test_queues.py | ||
test_stress.py | ||
utils.py |