Show More
@@ -438,7 +438,7 b' def is_recursion_error(etype, value, records):' | |||||
438 | # by stack frames in IPython itself. >500 frames probably indicates |
|
438 | # by stack frames in IPython itself. >500 frames probably indicates | |
439 | # a recursion error. |
|
439 | # a recursion error. | |
440 | return (etype is recursion_error_type) \ |
|
440 | return (etype is recursion_error_type) \ | |
441 | and "recursion" in str(value).lower() \ |
|
441 | and str("recursion") in str(value).lower() \ | |
442 | and len(records) > 500 |
|
442 | and len(records) > 500 | |
443 |
|
443 | |||
444 | def find_recursion(etype, value, records): |
|
444 | def find_recursion(etype, value, records): |
General Comments 0
You need to be logged in to leave comments.
Login now