summaryrefslogtreecommitdiffstats
path: root/Lib/test/test__xxsubinterpreters.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-32604: Swap threads only if the interpreter is different. (gh-5778)Eric Snow2018-02-201-0/+49
| | | The CPython runtime assumes that there is a one-to-one relationship (for a given interpreter) between PyThreadState and OS threads. Sending and receiving on a channel in the same interpreter was causing crashes because of this (specifically due to a check in PyThreadState_Swap()). The solution is to not switch threads if the interpreter is the same.
* bpo-32604: Clean up created subinterpreters before runtime finalization. ↵Eric Snow2018-02-171-9/+69
| | | | | | (gh-5709)
* bpo-32604: Fix memory leaks in the new _xxsubinterpreters module. (#5507)Eric Snow2018-02-031-8/+10
|
* bpo-32604: Expose the subinterpreters C-API in a "private" stdlib module. ↵Eric Snow2018-01-301-0/+1118
(gh-1748) The module is primarily intended for internal use in the test suite. Building the module under Windows will come in a follow-up PR.