Metaclasses vs. standard Python reflection?

Jeremy Fincher tweedgeezer at hotmail.com
Fri May 2 00:53:22 EDT 2003


I've been looking for examples of metaclasses I can use for a talk I'm
going to be giving next week, but I've been having trouble finding
examples that solve problems that wouldn't just as easily be via
Python's uber-reflective __getattr__/__setattr__ and inheritance. 
Does anyone have a good example of a problem that's solved more
"beautifully" with metaclasses than with Python's standard reflection
facilities?

Thanks,
Jeremy




More information about the Python-list mailing list