[Python-ideas] Expose __abstractmethods__/__isabstractmethod__ in abc

Nick Coghlan ncoghlan at gmail.com
Sat Jul 26 01:34:28 CEST 2014


The additional module level functions sound like a good idea to me. I see
it as similar to the functools.singledispatch driven addition to expose a
way to obtain a cache validity token for the virtual object graph.

I thought "__isabstractmethod__" was already documented though, since we
rely on it to control the pass through behaviour of property and other
decorators like classmethod and staticmethod. If it isn't, that's really a
bug rather than an RFE.

Cheers,
Nick.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20140726/92e77f0f/attachment.html>


More information about the Python-ideas mailing list