-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_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: