Skip to content

unhide BareExcept warnings and make them errors #7164

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

Merged
merged 1 commit into from
May 15, 2025
Merged

unhide BareExcept warnings and make them errors #7164

merged 1 commit into from
May 15, 2025

Conversation

tersec
Copy link
Contributor

@tersec tersec commented May 15, 2025

In the couple of years since:

And maybe as a result of updating to Nim 2.2, these warnings appear to have vanished entirely.

There are, for the moment, some remaining localized use cases for them, such as test runners where arguably it's worth dealing with its not being architecturally defined anymore to keep the test framework robust, but in general those can be addressed by locally disabling this warning specifically there.

@tersec tersec enabled auto-merge (squash) May 15, 2025 19:16
@tersec tersec merged commit c34ff30 into unstable May 15, 2025
11 checks passed
@tersec tersec deleted the t1h branch May 15, 2025 21:02
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.

1 participant