Staging
v0.5.1
https://github.com/python/cpython
Revision ac28147e78c45a6217d348ce90ca5281d91f676f authored by Ivan Levkivskyi on 17 February 2019, 23:13:46 UTC, committed by GitHub on 17 February 2019, 23:13:46 UTC
Not using `__class_getitem__()` fallback if there is a non-subcriptable metaclass was caused by a certain asymmetry between how `PySequenceMethods` and `PyMappingMethods` are used in `PyObject_GetItem`. This PR removes this asymmetry. No tests failed, so I assume it was not intentional.
1 parent 1bf8845
History
Tip revision: ac28147e78c45a6217d348ce90ca5281d91f676f authored by Ivan Levkivskyi on 17 February 2019, 23:13:46 UTC
bpo-35992: Use PySequence_GetItem only if sq_item is not NULL (GH-11857)
Tip revision: ac28147
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.8 KB
.gitignore -rw-r--r-- 1.6 KB
.travis.yml -rw-r--r-- 7.9 KB
CODE_OF_CONDUCT.md -rw-r--r-- 609 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 64.5 KB
README.rst -rw-r--r-- 9.8 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 489.4 KB
configure.ac -rw-r--r-- 160.0 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 43.1 KB
setup.py -rw-r--r-- 99.8 KB

README.rst

back to top