Namespaces/introspection: collecting sql strings for validation

Alex Martelli aleax at mac.com
Mon Apr 23 22:20:02 EDT 2007


Aahz <aahz at pythoncraft.com> wrote:

> >But don't put such black magic in production.  The completely different
> >way is: just don't.
> 
> Could you expand on that?  After all, that's exactly what we do to
> implement a super() that works with classic classes -- and it's certainly
> production code.

Personally, I'd much rather give up super (not a big loss) and classic
classes (a substantial net gain:-) than have to maintain such "black
magic" in a production environment. Explicit is better than implicit,
&c.


Alex



More information about the Python-list mailing list