[Python-ideas] accurate errors for "magic" methods
benjamin at python.org
Thu Apr 9 22:45:22 CEST 2009
Chris Rebert <pyideas at ...> writes:
> And if PEP 3134 (http://www.python.org/dev/peps/pep-3134/) were
> accepted+implemented, this could be made even clearer by using
> exception chaining to indicate that the TypeError was caused (at least
> semantically, disregarding optimizations) by the AttributeError.
And the time machine hits again! PEP 3134 has been implemented in Py3k.
More information about the Python-ideas