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
windows-release
ci.yml -rw-r--r-- 2.6 KB
docs-steps.yml -rw-r--r-- 1.3 KB
macos-steps.yml -rw-r--r-- 768 bytes
posix-deps-apt.sh -rwxr-xr-x 590 bytes
posix-steps.yml -rw-r--r-- 2.6 KB
pr.yml -rw-r--r-- 2.6 KB
prebuild-checks.yml -rw-r--r-- 1.2 KB
windows-layout-steps.yml -rw-r--r-- 1.5 KB
windows-release.yml -rw-r--r-- 3.9 KB
windows-steps.yml -rw-r--r-- 1.5 KB

back to top