PEP 312 (and thus 308) implemented with a black magic trick

Chermside, Michael mchermside at ingdirect.com
Tue Mar 18 11:07:11 EST 2003


I just wanted to say that I'm really impressed.

It's pure evil, of course, but nonetheless very beautiful and
astoundingly simple.

For some reason I'm more disturbed by the mis-use of operator
overloading than by the metaclass which modifies code...
perhaps because I've been burned by the former before (in C++).

-- Michael Chermside






More information about the Python-list mailing list