Author inada.naoki
Recipients benjamin.peterson, geeknik, inada.naoki
Date 2017-08-10.08:27:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1502353637.23.0.734242857846.issue31166@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2017-08-10 08:27:17inada.naokisetrecipients: + inada.naoki, benjamin.peterson, geeknik
2017-08-10 08:27:17inada.naokisetmessageid: <1502353637.23.0.734242857846.issue31166@psf.upfronthosting.co.za>
2017-08-10 08:27:17inada.naokilinkissue31166 messages
2017-08-10 08:27:16inada.naokicreate