You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Raising a user-defined class from itself causes interpreter crashing #2779
Activity
DimitrisJim commentedon Aug 5, 2021
Another good find. Loops on
write_exceptioninexceptions.rs. Thanks! Closing in favor of #2796sobolevn commentedon Aug 9, 2021
@DimitrisJim I don't think that this should raise
RecursionErroras described in #2796CPython:
I guess, this is a different case, where we need to fix
write_exceptionimplementation.Fixes infinite recursion on `raise e from e`, refs RustPython#2779
DimitrisJim commentedon Aug 9, 2021
@sobolevn ah, you're right here. I rushed in triaging this.
Fixes infinite recursion on `raise e from e`, refs RustPython#2779