Staging
v0.8.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
test
__init__.py -rw-r--r-- 3.7 KB
__main__.py -rw-r--r-- 472 bytes
_log.py -rw-r--r-- 2.7 KB
async_case.py -rw-r--r-- 5.7 KB
case.py -rw-r--r-- 55.8 KB
loader.py -rw-r--r-- 22.2 KB
main.py -rw-r--r-- 11.0 KB
mock.py -rw-r--r-- 96.8 KB
result.py -rw-r--r-- 7.3 KB
runner.py -rw-r--r-- 7.6 KB
signals.py -rw-r--r-- 2.3 KB
suite.py -rw-r--r-- 12.5 KB
util.py -rw-r--r-- 5.1 KB

back to top