Decorators: an outsider's perspective

Anthony Baxter anthonybaxter at gmail.com
Tue Aug 17 09:28:49 EDT 2004


On Mon, 16 Aug 2004 13:17:42 -0400, Paul Morrow <pm_mon at yahoo.com> wrote:
> Q: What if I had a metaclass that would make any method private whose
> name started with two underbars (by, I dunno, mangling the name
> somehow)?  Would you consider that a hack too? ;-)

Damn straight - that's awful. Why on earth would someone implement
that? 

Sorry, burned out on decorators for now.



More information about the Python-list mailing list