Message113820
| Author |
daniel.urban |
| Recipients |
daniel.urban, della, terry.reedy |
| Date |
2010年08月13日.19:35:11 |
| SpamBayes Score |
0.005701953 |
| 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: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 |
|