Michael Foord added the comment:

Thanks for this Kushal. It's not quite right though, count and index need to do 
the same as other attributes looked up with __getattr__. In fact delegating to 
__getattr__ is probably the easiest way of achieving that. (With the current 
patch the calls will be incorrect for call.foo.index() or similar I believe.)

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue21270>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to