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 ncoghlan
Recipients aronacher, ncoghlan, paul.moore
Date 2009-03-02.21:01:17
SpamBayes Score 0.0025342985
Marked as misclassified No
Message-id <>
While a complete solution isn't possible, at least supporting querying
of explicit registrations would be an improvement over the status quo
(since an implicit registration can always be turned into an explicit
one, but a registration can't always be turned into inheritance).

For this to work in practice, I believe a PEP would be needed to add a
"subscribe" method to ABCMeta instances - this method would accept two
callbacks, one that was called whenever register() was invoked, and a
second when unregister() was invoked. Generic functions which add ABCs
registered could then subscribe to them and update their type caches
Date User Action Args
2009-03-02 21:01:20ncoghlansetrecipients: + ncoghlan, paul.moore, aronacher
2009-03-02 21:01:20ncoghlansetmessageid: <>
2009-03-02 21:01:18ncoghlanlinkissue5405 messages
2009-03-02 21:01:17ncoghlancreate