[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
More information about the Python-ideas mailing list
Thu Apr 21 15:35:58 EDT 2016
- Previous message (by thread): [Python-ideas] Shrink recursion error tracebacks (was: Have REPL print less by default)
- Next message (by thread): [Python-ideas] Shrink recursion error tracebacks (was: Have REPL print less by default)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
> 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! :)
- Previous message (by thread): [Python-ideas] Shrink recursion error tracebacks (was: Have REPL print less by default)
- Next message (by thread): [Python-ideas] Shrink recursion error tracebacks (was: Have REPL print less by default)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-ideas mailing list