Chris Withers added the comment:
Ah yes, I can see how Venusian would get confused.
How about making the check a more generic:
if attr.startswith('__'):
raise AttributeError(attr)
?
That said, why does call have a __getattr__? Where is that intended to be used?
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue25532>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com