Overloading operators on the rigth.

Jeff Epler jepler at unpythonic.net
Tue Oct 12 21:29:40 EDT 2004


I think it's a difference in new-style classes that __getattr__ doesn't
have a chance to run when searching for special methods.

I'm sure this is documented, but I didn't see it in
http://python.org/2.2.2/descrintro.html

Jeff
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/python-list/attachments/20041012/924ed905/attachment.sig>


More information about the Python-list mailing list