Skip to content

[eudsl-python-extras] Replace bare except with Exception, fix find_ops type hint#461

Merged
makslevental merged 1 commit into
mainfrom
users/makslevental/fix-bare-except
Jun 29, 2026
Merged

[eudsl-python-extras] Replace bare except with Exception, fix find_ops type hint#461
makslevental merged 1 commit into
mainfrom
users/makslevental/fix-bare-except

Conversation

@makslevental

Copy link
Copy Markdown
Contributor

Summary

  • Replace bare except: in _get_sym_name() with except Exception: to avoid catching KeyboardInterrupt/SystemExit.
  • Fix find_ops() type hint: predicate takes a single Operation arg, not (OpView, Operation, Module).

Test plan

  • Full test suite: 599 passed, 99.34% coverage

…s type hint

- Replace bare `except:` in `_get_sym_name()` with `except Exception:`
- Fix `find_ops()` type hint: pred takes a single `Operation`, not three args
@makslevental makslevental force-pushed the users/makslevental/fix-bare-except branch from a0bb858 to 12a58f8 Compare June 29, 2026 01:37
@makslevental makslevental merged commit 5d4b9a7 into main Jun 29, 2026
20 checks passed
@makslevental makslevental deleted the users/makslevental/fix-bare-except branch June 29, 2026 01:42
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