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
Python crashes if recursively reloading modules #38541
Comments
If one tries to recursively reload modules, python crashes with a the python interpreter crashes I have been able to reproduce the Although recursive reloads are faulty code, this Sorry if this is already a known bug, but I |
Logged In: YES I expect this is a platform-specific problem with the Python The value returned by sys.getrecursionlimit(), and |
Logged In: YES I tried it on 2 of our development PC's and got the Seems a bit strange, doesn't it ? Anyway, recursive reloads are quite easy to detect, so |
Logged In: YES The default recursion limit is unconditionally defined -- it If you can submit a patch, that would help. Note that there's |
Logged In: YES You're right, there's nothing wrong with recursive imports |
Fixed in r54291 (trunk), r54294 (release25-maint). Thanks for the bug report, Christian! |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: