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
dummy
__init__.py -rw-r--r-- 916 bytes
connection.py -rw-r--r-- 31.3 KB
context.py -rw-r--r-- 11.0 KB
forkserver.py -rw-r--r-- 11.9 KB
heap.py -rw-r--r-- 11.4 KB
managers.py -rw-r--r-- 46.1 KB
pool.py -rw-r--r-- 31.8 KB
popen_fork.py -rw-r--r-- 2.3 KB
popen_forkserver.py -rw-r--r-- 2.2 KB
popen_spawn_posix.py -rw-r--r-- 2.0 KB
popen_spawn_win32.py -rw-r--r-- 3.9 KB
process.py -rw-r--r-- 11.7 KB
queues.py -rw-r--r-- 11.7 KB
reduction.py -rw-r--r-- 9.3 KB
resource_sharer.py -rw-r--r-- 5.0 KB
resource_tracker.py -rw-r--r-- 8.4 KB
shared_memory.py -rw-r--r-- 18.0 KB
sharedctypes.py -rw-r--r-- 6.2 KB
spawn.py -rw-r--r-- 9.1 KB
synchronize.py -rw-r--r-- 11.3 KB
util.py -rw-r--r-- 13.7 KB

back to top