diff options
author | Julien Palard <julien@palard.fr> | 2019-05-26 14:25:47 (GMT) |
---|---|---|
committer | Mark Shannon <mark@hotpy.org> | 2019-05-26 14:25:47 (GMT) |
commit | 180dc1b0f4a57c3f66351568ae8488fa8576d7f0 (patch) | |
tree | 63d3b62daf6e75634c5df968afa541b3fd1c04fb /Misc | |
parent | 135c6a56e55d2f4f8718b3b9f03ce3c692b15f0f (diff) | |
download | cpython-180dc1b0f4a57c3f66351568ae8488fa8576d7f0.zip cpython-180dc1b0f4a57c3f66351568ae8488fa8576d7f0.tar.gz cpython-180dc1b0f4a57c3f66351568ae8488fa8576d7f0.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Core and Builtins/2019-05-08-16-36-51.bpo-28866.qCv_bj.rst | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Core and Builtins/2019-05-08-16-36-51.bpo-28866.qCv_bj.rst b/Misc/NEWS.d/next/Core and Builtins/2019-05-08-16-36-51.bpo-28866.qCv_bj.rst new file mode 100644 index 0000000..6901729 --- /dev/null +++ b/Misc/NEWS.d/next/Core and Builtins/2019-05-08-16-36-51.bpo-28866.qCv_bj.rst @@ -0,0 +1,2 @@ +Avoid caching attributes of classes which type defines mro() to avoid a hard +cache invalidation problem. |