[Python-ideas] class-only methods without using metaclasses

Eric Snow ericsnowcurrently at gmail.com
Thu Mar 7 20:35:59 CET 2013


On Thu, Mar 7, 2013 at 1:21 AM, Nick Coghlan <ncoghlan at gmail.com> wrote:
> and the distinction between a class method and a class only method
> would be too subtle to easily explain to anyone not already steeped in
> the details of descriptors and metaclasses.

This is definitely the big reason why it's not worth it over just
using a metaclass or even just sticking with classmethods, marginally
imperfect as they are for the theoretical use case.

-eric



More information about the Python-ideas mailing list