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 rhettinger
Recipients avrahami.ben, eric.smith, gvanrossum, python-dev, rhettinger
Date 2020-10-04.01:16:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601774180.32.0.206457112658.issue41905@roundup.psfhosted.org>
In-reply-to
Content
> you're effectively proposing to compute (or update)
> __abstractmethods__ lazily.

Would it be possible to do the update whenever the class dictionary is modified, in PyType_Modified() perhaps (using logic similar to __mro__ updates__)?  

I not pushing for this; am just asking whether it is possible to make sure that __abstractmethods__ is always in sync with reality.
History
Date User Action Args
2020-10-04 01:16:20rhettingersetrecipients: + rhettinger, gvanrossum, eric.smith, python-dev, avrahami.ben
2020-10-04 01:16:20rhettingersetmessageid: <1601774180.32.0.206457112658.issue41905@roundup.psfhosted.org>
2020-10-04 01:16:20rhettingerlinkissue41905 messages
2020-10-04 01:16:20rhettingercreate