This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients benjamin.peterson, geeknik, methane
Date 2017-08-10.08:27:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
As Benjamin commented, this is caused by mutating internal dict.

PyType_Lookup() use "method cache", based on "tp_version_tag" in the type object.
When you modify internal dict directly, namespace is changed without
invalidating tp_version_tag.
So cached pointer is used, and it's already deallocated.

I don't know we should fix it or not.
I don't have any idea fix this without any performance penalty.
Date User Action Args
2017-08-10 08:27:17methanesetrecipients: + methane, benjamin.peterson, geeknik
2017-08-10 08:27:17methanesetmessageid: <>
2017-08-10 08:27:17methanelinkissue31166 messages
2017-08-10 08:27:16methanecreate