Staging
v0.5.1
https://github.com/python/cpython
Revision 804d6893b801e8f30318afc38c20d4d0e6161db3 authored by kj on 05 December 2020, 16:02:14 UTC, committed by GitHub on 05 December 2020, 16:02:14 UTC


Use `_PyArg_NoKeywords` instead of `_PyArg_NoKwnames` when checking the `kwds` tuple when creating `GenericAlias`. This fixes an interpreter crash when passing in keyword arguments to `GenericAlias`'s constructor.

Needs backport to 3.9.

Automerge-Triggered-By: GH:gvanrossum
1 parent da3d2ab
History
Tip revision: 804d6893b801e8f30318afc38c20d4d0e6161db3 authored by kj on 05 December 2020, 16:02:14 UTC
bpo-42576: Raise TypeError when passing in keyword arguments to GenericAlias (GH-23656)
Tip revision: 804d689
File Mode Size
__init__.py -rw-r--r-- 1.2 KB
__main__.py -rw-r--r-- 3.3 KB
base_events.py -rw-r--r-- 71.7 KB
base_futures.py -rw-r--r-- 2.5 KB
base_subprocess.py -rw-r--r-- 8.6 KB
base_tasks.py -rw-r--r-- 2.4 KB
constants.py -rw-r--r-- 888 bytes
coroutines.py -rw-r--r-- 8.6 KB
events.py -rw-r--r-- 26.2 KB
exceptions.py -rw-r--r-- 1.6 KB
format_helpers.py -rw-r--r-- 2.3 KB
futures.py -rw-r--r-- 13.7 KB
locks.py -rw-r--r-- 13.4 KB
log.py -rw-r--r-- 124 bytes
mixins.py -rw-r--r-- 803 bytes
proactor_events.py -rw-r--r-- 31.5 KB
protocols.py -rw-r--r-- 7.0 KB
queues.py -rw-r--r-- 7.8 KB
runners.py -rw-r--r-- 2.1 KB
selector_events.py -rw-r--r-- 38.6 KB
sslproto.py -rw-r--r-- 26.5 KB
staggered.py -rw-r--r-- 5.9 KB
streams.py -rw-r--r-- 25.0 KB
subprocess.py -rw-r--r-- 7.2 KB
tasks.py -rw-r--r-- 31.8 KB
threads.py -rw-r--r-- 790 bytes
transports.py -rw-r--r-- 10.2 KB
trsock.py -rw-r--r-- 5.7 KB
unix_events.py -rw-r--r-- 50.6 KB
windows_events.py -rw-r--r-- 32.1 KB
windows_utils.py -rw-r--r-- 4.9 KB

back to top