yet another modifying locals() question

Ed Anuff ed.anuff at gmail.com
Mon Sep 14 02:53:08 EDT 2009


On Sep 13, 8:15 pm, Steven D'Aprano
<ste... at REMOVE.THIS.cybersource.com.au> wrote:
> Metaclasses are left as an exercise for the reader.

The parent class has a metaclass, which is why I was trying this
approach instead, since it let me get at the class attributes before
the metaclass did.  Overriding the metaclass looked to be a much more
messy proposition, but I think I've got that working now.  Thanks



More information about the Python-list mailing list