>>>>> "TP" == Tim Peters <tim.one@home.com> writes: TP> Since instance objects have always been the flakiest in this TP> respect, and the instance/class machinery is undergoing TP> radical surgery on descr-branch (in particular, classes are TP> themselves becoming instances (of metaclasses)), I think Guido TP> is trying to get a feel for how loudly people will howl if we TP> don't add reams of obscure code seeking to reproduce old TP> accidents exactly. As you say, this has always been flaky, inconsistent, underspecified, and unpredictable, so IMO Guido's free to change this kind of thing as he sees fit. Builtins like list() or len() which implicitly do attribute access under the covers should be free to raise either exception, and good defensive programs have already probably been catching both. I know there's no danger in changing the behavior for an explicit instance.attr access. We all agree that that should always raise AttributeError, right? :) -Barry
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4