]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-32226: Implementation of PEP 560 (core components) (#4732)
authorIvan Levkivskyi <levkivskyi@gmail.com>
Thu, 14 Dec 2017 22:32:56 +0000 (23:32 +0100)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2017 22:32:56 +0000 (23:32 +0100)
commit2b5fd1e9ca9318673989e6ccac2c8acadc3809cd
tree5aa372f821be82c0d17265700364a5c4643d1cd4
parent15a8728415e765f57e37f431f09e5c5821a04063
bpo-32226: Implementation of PEP 560 (core components) (#4732)

This part of the PEP implementation adds support for
__mro_entries__ and __class_getitem__ by updating
__build_class__ and PyObject_GetItem.
Lib/test/test_genericclass.py [new file with mode: 0644]
Lib/test/test_types.py
Lib/types.py
Misc/NEWS.d/next/Core and Builtins/2017-12-05-21-42-58.bpo-32226.G8fqb6.rst [new file with mode: 0644]
Objects/abstract.c
Objects/typeobject.c
Python/bltinmodule.c