Author serhiy.storchaka
Recipients Yonatan Goldschmidt, nascheme, serhiy.storchaka
Date 2020-02-16.07:53:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Thank you for your report and patch. Agree that the code does not look safe. Do you mind to create a pull request?

Would be nice to add a test for it. The three references to the Python class are:

* the __dict__ descriptor
* the __weakref__ descriptor
* the __mro__ tuple

You can get rid of the first two by setting __slots__ = () in the class definition. But it is not so easy with the __mro__ tuple. I will try more.
Date User Action Args
2020-02-16 07:53:55serhiy.storchakasetrecipients: + serhiy.storchaka, nascheme, Yonatan Goldschmidt
2020-02-16 07:53:55serhiy.storchakasetmessageid: <>
2020-02-16 07:53:55serhiy.storchakalinkissue39382 messages
2020-02-16 07:53:55serhiy.storchakacreate