[Python-ideas] Shrink recursion error tracebacks (was: Have REPL print less by default)

Joseph Martinot-Lagarde contrebasse at gmail.com
Thu Apr 21 15:35:58 EDT 2016

> No problem with that. In my experience, most RecursionErrors come from
> *accidental* recursion, which is straight-forwardly infinite and
> usually involves a single function.
It can come very easily with __getattr__, if __getattr__ itself uses an
undefined attribute. This recursion is usually not what the user wanted! :)

More information about the Python-ideas mailing list