Staging
v0.5.1
https://github.com/python/cpython
Revision d5c029b1a9b47737efb8966f804d28b99a2de239 authored by Miss Islington (bot) on 05 December 2020, 16:24:38 UTC, committed by GitHub on 05 December 2020, 16:24:38 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
(cherry picked from commit 804d6893b801e8f30318afc38c20d4d0e6161db3)

Co-authored-by: kj <28750310+Fidget-Spinner@users.noreply.github.com>
1 parent b630ca7
History
Tip revision: d5c029b1a9b47737efb8966f804d28b99a2de239 authored by Miss Islington (bot) on 05 December 2020, 16:24:38 UTC
bpo-42576: Raise TypeError when passing in keyword arguments to GenericAlias (GH-23656)
Tip revision: d5c029b
File Mode Size
c-api
data
distributing
distutils
extending
faq
howto
includes
install
installing
library
reference
tools
tutorial
using
whatsnew
Makefile -rw-r--r-- 8.5 KB
README.rst -rw-r--r-- 4.6 KB
about.rst -rw-r--r-- 1.5 KB
bugs.rst -rw-r--r-- 4.7 KB
conf.py -rw-r--r-- 7.1 KB
contents.rst -rw-r--r-- 538 bytes
copyright.rst -rw-r--r-- 451 bytes
glossary.rst -rw-r--r-- 53.2 KB
license.rst -rw-r--r-- 46.5 KB
make.bat -rw-r--r-- 5.5 KB
requirements.txt -rw-r--r-- 381 bytes
runtime.txt -rw-r--r-- 3 bytes

README.rst

back to top