A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2001-September/017666.html below:

[Python-Dev] Python 2.2a* getattr suggestion and question

[Python-Dev] Python 2.2a* getattr suggestion and question [Python-Dev] Python 2.2a* getattr suggestion and questionGuido van Rossum guido@python.org
Sun, 30 Sep 2001 14:37:00 -0400
> Sure. Still, I think interpreter diagnostics should be pointing to the
> exact place of trouble. At least, __getattribute__ must appear somewhere
> in the traceback to give a hint where from __repr__ was attempted to be
> called.

When you write a faulty __getattribute__ that returns None instead of
raising AttributeError, it's not realistic to expect __getattribute__
to be in the stack trace.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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