[issue643841] New class special method lookup change
Guido van Rossum
report at bugs.python.org
Wed Jun 11 18:59:49 CEST 2008
Guido van Rossum <guido at python.org> added the comment:
I want to make this "bypass getattr" behavior mandatory for those
operations that currently use it, forcing the issue for other
implementations of Python. That's a doc change (but an important one!).
There are probably many random places where the docs imply that getattr
is used where it isn't.
I am not sure that we need a proxy implementation in the stdlib; usually
when proxying there is some intentional irregularity (that's why you're
proxying) and I'm not sure how useful the mix-in class will be in
practice. We should wait and see how effective it is in some realistic
situations before accepting it into the stdlib. Also, typetools strikes
me as a horrible name.
----------
nosy: +gvanrossum
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue643841>
_______________________________________
More information about the Python-bugs-list
mailing list