[proxy] github.com← back | site home | direct (HTTPS) ↗ | proxy home | ◑ dark◐ light

bpo-28866: No type cache for types with specialized mro, invalidation is hard. by JulienPalard · Pull Request #13157 · python/cpython

the-knights-who-say-ni

…o().

Closed

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

May 26, 2019
… is hard. (pythonGH-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.
(cherry picked from commit 180dc1b)

Co-authored-by: Julien Palard <julien@palard.fr>

miss-islington added a commit that referenced this pull request

May 26, 2019
…dation is hard. (GH-13157) (GH-13589)

* 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.
(cherry picked from commit 180dc1b)


Co-authored-by: Julien Palard <julien@palard.fr>


https://bugs.python.org/issue28866

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
… is hard. (python#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.

sjpalt mannequin mentioned this pull request

Apr 10, 2022

Closed