Eric Snow f53d9f2778
bpo-32604: Swap threads only if the interpreter is different. (gh-5778)
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.
2018-02-20 16:30:17 -07:00
..
2016-09-07 09:26:18 -07:00
2018-01-26 15:24:24 -05:00
2017-11-05 15:37:50 +02:00
2017-09-14 18:13:16 -07:00

Miscellaneous source files for the main Python shared library