Message173280
The catch is that when abstractmethod is the inner decorator, __isabstractmethod__ is set on the object that classmethod/staticmethod is wrapping. When abstractmethod is the outer decorator, __isabstractmethod__ is set on the resulting classmethod/staticmethod object instead. Unless there is some practical reason that the distinction matters, I'm +1 on letting __isabstractmethod__ be set on classmethods and staticmethods. |
|
Date |
User |
Action |
Args |
2012-10-18 15:54:40 | eric.snow | set | recipients:
+ eric.snow, ncoghlan, benjamin.peterson, stutzbach, eric.araujo, Arfrever, r.david.murray, asvetlov, daniel.urban, christopherthemagnificent, docs@python, dsdale24, python-dev, Darren.Dale |
2012-10-18 15:54:40 | eric.snow | set | messageid: <1350575680.22.0.270140249435.issue16267@psf.upfronthosting.co.za> |
2012-10-18 15:54:40 | eric.snow | link | issue16267 messages |
2012-10-18 15:54:40 | eric.snow | create | |
|