_truncate_recursive_traceback()'s recursionindex can be None in 3.1.2 #2486
Comments
Thanks for the report! Can you provide a reproducible case? |
Thanks, @nicoddemus, that makes this much more clear.
|
Thanks for the quick answer! I will work on a fix ASAP. |
Thanks! Fix in #2487 |
I've stumbled in this error when I tried to test a function which was performing an infinite recursion. Instead of the expected:
I got:
I'm attaching a simplification of my code which reproduces the issue. This was tested using Python 3.5.3 under Ubuntu 16.04. |
@allrod5 thanks for the reproducer. This has already been fixed in the latest version, here's the output I obtain when using
|
The text was updated successfully, but these errors were encountered: