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
English.lproj
FileSettings.h -rw-r--r-- 1.8 KB
FileSettings.m -rw-r--r-- 9.4 KB
Info.plist.in -rw-r--r-- 1.8 KB
Makefile.in -rw-r--r-- 2.9 KB
MyAppDelegate.h -rw-r--r-- 290 bytes
MyAppDelegate.m -rw-r--r-- 2.6 KB
MyDocument.h -rw-r--r-- 958 bytes
MyDocument.m -rw-r--r-- 4.5 KB
PreferencesWindowController.h -rw-r--r-- 1.0 KB
PreferencesWindowController.m -rw-r--r-- 2.9 KB
doscript.h -rw-r--r-- 228 bytes
doscript.m -rw-r--r-- 1.7 KB
factorySettings.plist -rw-r--r-- 2.6 KB
main.m -rw-r--r-- 340 bytes

back to top