This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.snow
Recipients Claudiu.Popa, eric.snow, r.david.murray, terry.reedy, the.mulhern
Date 2014-03-18.14:28:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CALFfu7BGX2mdkoBy7CyA1BHtAWnUH-2HB--26xEBCO9KRcQaBA@mail.gmail.com>
In-reply-to <1395152041.76.0.750313147159.issue20897@psf.upfronthosting.co.za>
Content
Oops, typos.

> Both abstractmethod and abstractproperty work by setting
__isabstractmethod__ to True on the decorated function.  Then type.__new__

That should be type.__call__ or object.__new__, I don't remember which.

> looks for any attributes of the current class (including inherited ones)
that have __isabstractmethod__ set to True...
>
> As to SuperSubber working in Python 3, don't forget that metaclasses are
declared in the class signature:
>
> class SuperSubber(META):
>     pass

That should be:

class META(metaclass=abc.ABCMeta):
History
Date User Action Args
2014-03-18 14:28:32eric.snowsetrecipients: + eric.snow, terry.reedy, r.david.murray, Claudiu.Popa, the.mulhern
2014-03-18 14:28:32eric.snowlinkissue20897 messages
2014-03-18 14:28:32eric.snowcreate