[Python-Dev] Monkeypatching idioms -- elegant or ugly? (original) (raw)

"Martin v. Löwis" martin at v.loewis.de
Tue Jan 15 22:27:19 CET 2008


Second, a "metaclass" to add a number of methods (or other attributes) to an existing class, using a convenient class notation:

I think this is similar to my "partial" classes:

http://pypi.python.org/pypi/partial

Regards, Martin



More information about the Python-Dev mailing list