Raymond Hettinger <raymond.hettin...@gmail.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41905>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to