Author daniel.urban
Recipients daniel.urban, della, terry.reedy
Date 2010-08-13.19:35:11
SpamBayes Score 0.00570195
Marked as misclassified No
Message-id <1281728115.7.0.51485391568.issue5867@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a patch, which adds a descriptor to classmethod and staticmethod.
Pseudocode:

__get__(self, inst, owner):
    if getattr(inst.callable, '__isabstractmethod__', False):
        return True
    return False

__set__(self, inst, value):
    inst.callable.__isabstractmethod__ = bool(value)
History
Date User Action Args
2010-08-13 19:35:17daniel.urbansetrecipients: + daniel.urban, terry.reedy, della
2010-08-13 19:35:15daniel.urbansetmessageid: <1281728115.7.0.51485391568.issue5867@psf.upfronthosting.co.za>
2010-08-13 19:35:13daniel.urbanlinkissue5867 messages
2010-08-13 19:35:13daniel.urbancreate