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
mime
__init__.py -rw-r--r-- 1.7 KB
_encoded_words.py -rw-r--r-- 8.3 KB
_header_value_parser.py -rw-r--r-- 104.5 KB
_parseaddr.py -rw-r--r-- 17.2 KB
_policybase.py -rw-r--r-- 14.7 KB
architecture.rst -rw-r--r-- 9.3 KB
base64mime.py -rw-r--r-- 3.5 KB
charset.py -rw-r--r-- 16.7 KB
contentmanager.py -rw-r--r-- 10.4 KB
encoders.py -rw-r--r-- 1.7 KB
errors.py -rw-r--r-- 3.6 KB
feedparser.py -rw-r--r-- 22.2 KB
generator.py -rw-r--r-- 19.7 KB
header.py -rw-r--r-- 23.5 KB
headerregistry.py -rw-r--r-- 20.4 KB
iterators.py -rw-r--r-- 2.1 KB
message.py -rw-r--r-- 46.0 KB
parser.py -rw-r--r-- 4.9 KB
policy.py -rw-r--r-- 10.1 KB
quoprimime.py -rw-r--r-- 9.6 KB
utils.py -rw-r--r-- 13.1 KB

back to top