Staging
v0.8.1
https://github.com/python/cpython
Revision a7f929db605326da452fbdeebfe341afa9316d25 authored by Miss Islington (bot) on 17 February 2019, 23:33:04 UTC, committed by GitHub on 17 February 2019, 23:33:04 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.
(cherry picked from commit ac28147e78c45a6217d348ce90ca5281d91f676f)

Co-authored-by: Ivan Levkivskyi <levkivskyi@gmail.com>
1 parent 6f35219
History
Tip revision: a7f929db605326da452fbdeebfe341afa9316d25 authored by Miss Islington (bot) on 17 February 2019, 23:33:04 UTC
bpo-35992: Use PySequence_GetItem only if sq_item is not NULL (GH-11857)
Tip revision: a7f929d
File Mode Size
ci.yml -rw-r--r-- 3.2 KB
docs-steps.yml -rw-r--r-- 1.3 KB
macos-steps.yml -rw-r--r-- 724 bytes
posix-deps-apt.sh -rwxr-xr-x 580 bytes
posix-steps.yml -rw-r--r-- 2.4 KB
pr.yml -rw-r--r-- 3.1 KB
prebuild-checks.yml -rw-r--r-- 1.2 KB
windows-layout-steps.yml -rw-r--r-- 1.5 KB
windows-steps.yml -rw-r--r-- 1.3 KB

back to top