cpython/Lib
Miss Islington (bot) eed3c7af4e bpo-32604: Swap threads only if the interpreter is different. (gh-5783)
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.
(cherry picked from commit f53d9f2778)

Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
2018-02-20 17:09:41 -07:00
..
asyncio bpo-32841: Fix cancellation in awaiting asyncio.Condition (GH-5665) 2018-02-14 01:47:30 -08:00
collections bpo-25988: Emit a warning when use or import ABCs from 'collections'. (GH-5734) 2018-02-18 17:40:59 +00:00
concurrent bpo-32596: Make lazy-load portable (GH-5316) 2018-01-26 10:53:31 +09:00
ctypes [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
curses
dbm
distutils Improve error message for "setup.py upload" without dist files (GH-21060) 2018-02-18 19:57:17 -08:00
email [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
encodings
ensurepip
html
http bpo-31399: Let OpenSSL verify hostname and IP address (#3462) 2018-01-27 15:51:38 +01:00
idlelib bpo-32837: IDLE - require encoding argument for textview.view_file. (GH-5646) 2018-02-12 15:15:01 -08:00
importlib bpo-32303 - Consistency fixes for namespace loaders (GH-5481) (#5503) 2018-02-02 19:49:25 -05:00
json bpo-32360: Remove OrderedDict usage from json.tool (GH-5315) 2018-01-25 19:52:58 +09:00
lib2to3 compare with difflib not diff(1) (GH-5450) 2018-01-30 09:03:12 -08:00
logging
msilib
multiprocessing
pydoc_data Update NEWS, docs, and patchlevel for 3.7.0b1 2018-01-30 18:48:26 -05:00
site-packages
sqlite3
test bpo-32604: Swap threads only if the interpreter is different. (gh-5783) 2018-02-20 17:09:41 -07:00
tkinter bpo-32585: Add tkinter.ttk.Spinbox. (GH-5221) (GH-5592) 2018-02-09 13:40:14 +02:00
turtledemo
unittest [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
urllib
venv bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5765) 2018-02-19 17:45:02 -08:00
wsgiref
xml
xmlrpc
__future__.py String annotations [PEP 563] (#4390) 2018-01-26 08:20:18 -08:00
__phello__.foo.py
_bootlocale.py
_collections_abc.py
_compat_pickle.py
_compression.py
_dummy_thread.py
_markupbase.py
_osx_support.py
_py_abc.py bpo-31333: Re-implement ABCMeta in C (GH-5733) 2018-02-18 17:39:43 +00:00
_pydecimal.py bpo-32630: Use contextvars in decimal (GH-5278) 2018-01-27 13:46:46 -05:00
_pyio.py
_sitebuiltins.py
_strptime.py
_threading_local.py
_weakrefset.py
abc.py bpo-31333: Re-implement ABCMeta in C (GH-5733) 2018-02-18 17:39:43 +00:00
aifc.py bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND chunk is not found (GH-5240) 2018-02-20 14:06:58 -08:00
antigravity.py
argparse.py
ast.py
asynchat.py
asyncore.py
base64.py
bdb.py bpo-32650 Add support for async generators and more test for coroutines in pdb (#5403) 2018-01-28 20:31:00 -05:00
binhex.py
bisect.py
bz2.py
calendar.py
cgi.py
cgitb.py
chunk.py
cmd.py
code.py
codecs.py
codeop.py
colorsys.py
compileall.py
configparser.py
contextlib.py bpo-30306: release arguments of contextmanager (GH-1500) 2018-01-28 14:17:46 +10:00
contextvars.py
copy.py
copyreg.py
cProfile.py
crypt.py
csv.py bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601) (GH-5602) 2018-02-10 00:00:48 +02:00
dataclasses.py bpo-32513: Make it easier to override dunders in dataclasses. (GH-5366) 2018-01-27 19:07:40 -05:00
datetime.py
decimal.py
difflib.py
dis.py
doctest.py
dummy_threading.py
enum.py
filecmp.py
fileinput.py
fnmatch.py bpo-32775: Fix regular expression warnings in fnmatch. (GH-5583) (GH-5596) 2018-02-09 13:56:50 +02:00
formatter.py
fractions.py
ftplib.py
functools.py
genericpath.py
getopt.py
getpass.py
gettext.py
glob.py
gzip.py
hashlib.py
heapq.py
hmac.py bpo-32433: Optimized HMAC digest (#5023) 2018-01-27 09:53:43 +01:00
imaplib.py
imghdr.py
imp.py
inspect.py bpo-32678: inspect: Import ast lazily (GH-5344) 2018-01-27 10:10:06 +09:00
io.py
ipaddress.py
keyword.py
linecache.py
locale.py
lzma.py
macpath.py
mailbox.py
mailcap.py
mimetypes.py
modulefinder.py
netrc.py
nntplib.py
ntpath.py
nturl2path.py
numbers.py
opcode.py [3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520) 2018-02-03 20:41:43 -05:00
operator.py
optparse.py
os.py
pathlib.py bpo-31972: Improve docstrings for pathlib classes (GH-5310) 2018-02-18 16:48:07 -08:00
pdb.py [3.7] bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5510) 2018-02-04 18:07:16 +10:00
pickle.py
pickletools.py
pipes.py
pkgutil.py
platform.py
plistlib.py
poplib.py
posixpath.py
pprint.py
profile.py
pstats.py bpo-29237: Create enum for pstats sorting options (GH-5103) 2018-01-25 20:49:56 -08:00
pty.py
py_compile.py bpo-29708: Setting SOURCE_DATE_EPOCH forces hash-based .pyc files (GH-5200) 2018-01-24 13:26:18 -08:00
pyclbr.py
pydoc.py
queue.py
quopri.py
random.py
re.py
reprlib.py
rlcompleter.py
runpy.py
sched.py
secrets.py
selectors.py
shelve.py
shlex.py
shutil.py
signal.py
site.py bpo-28440: Don't add /Library/Python/3.x/site-packages to sys.path (#5445) 2018-01-30 05:14:09 -05:00
smtpd.py
smtplib.py bpo-32727: smtplib's SMTP.send_message behaves differently with from_addr and to_addrs (#5451) 2018-01-31 17:01:31 -05:00
sndhdr.py
socket.py bpo-28134: Auto-detect socket values from file descriptor (#1349) 2018-01-29 22:37:58 +01:00
socketserver.py
sre_compile.py
sre_constants.py
sre_parse.py
ssl.py bpo-31429: Define TLS cipher suite on build time (#3532) 2018-01-29 14:10:18 +01:00
stat.py
statistics.py
string.py
stringprep.py
struct.py
subprocess.py bpo-31961: subprocess now accepts path-like args (GH-4329) 2018-01-29 23:27:28 -08:00
sunau.py
symbol.py
symtable.py
sysconfig.py
tabnanny.py
tarfile.py bpo-30693: zip+tarfile: sort directory listing (#2263) 2018-01-31 17:01:55 -05:00
telnetlib.py
tempfile.py
textwrap.py
this.py
threading.py
timeit.py
token.py
tokenize.py
trace.py bpo-32852: Fix trace changing sys.argv to tuple. (GH-5692) 2018-02-16 22:53:24 -08:00
traceback.py
tracemalloc.py
tty.py
turtle.py
types.py
typing.py
uu.py
uuid.py bpo-32370: Use the correct encoding for ipconfig output in the uuid module. (GH-5608) 2018-02-13 00:58:28 -08:00
warnings.py
wave.py
weakref.py
webbrowser.py
xdrlib.py
zipapp.py
zipfile.py bpo-30693: zip+tarfile: sort directory listing (#2263) 2018-01-31 17:01:55 -05:00