Georg Brandl added the comment:

Attached is a patch, please review.  Introduces a RecursionError that 
subclasses RuntimeError for compatibility.

Note: I also tested this with RecursionError not subclassing RuntimeError, to 
make sure that except clauses in the test suite are sufficiently narrowed to 
RecursionError.

----------
keywords: +patch
Added file: http://bugs.python.org/file32091/recursion_error.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue19235>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to