Skip to content

Test for jumps out of exception handler; update DLR - #2121

Merged
slozier merged 2 commits into
IronLanguages:mainfrom
BCSharp:except-continue
Oct 28, 2026
Merged

slozier merged 2 commits into
IronLanguages:mainfrom
BCSharp:except-continue

Conversation

@BCSharp

@BCSharp BCSharp commented Oct 28, 2026

Copy link
Copy Markdown
Member

Brings in IronLanguages/dlr#371, resolves #1182.

@slozier slozier left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. Will merge once tests pass. I think I also had some tweaks to the StdLib which can now be reverted but I can take care of those.

Comment thread tests/suite/test_regressions.py Outdated

with self.assertRaises(System.FormatException) as cm:
call()
self.assertIn('Int32.Parse', cm.exception.StackTrace)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interestingly this isn't in the stack on .NET Framework.

@slozier
slozier merged commit d588457 into IronLanguages:main Oct 28, 2026
55 of 56 checks passed
@BCSharp
BCSharp deleted the except-continue branch October 28, 2026 21:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

StackOverflowException with continue from try..except

2 participants