Nick Coghlan wrote:
Simon Brunning wrote:
This work - <http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52295>?


Only for old-style classes, though. If you inherit from object or another builtin, that recipe fails.

Could you explain, please? I thought __getattr__ worked the same with new- and old-style classes?

Thanks,
Kent
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to