]> granicus.if.org Git - python/commit
bpo-28866: No type cache for types with specialized mro, invalidation is hard. (...
authorJulien Palard <julien@palard.fr>
Sun, 26 May 2019 14:25:47 +0000 (16:25 +0200)
committerMark Shannon <mark@hotpy.org>
Sun, 26 May 2019 14:25:47 +0000 (15:25 +0100)
commit180dc1b0f4a57c3f66351568ae8488fa8576d7f0
tree63d3b62daf6e75634c5df968afa541b3fd1c04fb
parent135c6a56e55d2f4f8718b3b9f03ce3c692b15f0f
bpo-28866: No type cache for types with specialized mro, invalidation is hard. (#13157)

* No type cache for types with specialized mro, invalidation is hard.

* FIX: Don't disable method cache custom types that do not implement mro().

* fixing implem.

* Avoid storing error flags, also decref.

* news entry

* Clear as soon as we're getting an error.

* FIX: Reference leak.
Misc/NEWS.d/next/Core and Builtins/2019-05-08-16-36-51.bpo-28866.qCv_bj.rst [new file with mode: 0644]
Objects/typeobject.c