Message113820
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) |
|
Date |
User |
Action |
Args |
2010-08-13 19:35:17 | daniel.urban | set | recipients:
+ daniel.urban, terry.reedy, della |
2010-08-13 19:35:15 | daniel.urban | set | messageid: <1281728115.7.0.51485391568.issue5867@psf.upfronthosting.co.za> |
2010-08-13 19:35:13 | daniel.urban | link | issue5867 messages |
2010-08-13 19:35:13 | daniel.urban | create | |
|