Skip to content

fix(ifex_ast_introspect): replace undefined TypeException with TypeError - #162

Open
SoundMatt wants to merge 1 commit into
COVESA:masterfrom
SoundMatt:fix/ifex-ast-introspect-typeexception
Open

fix(ifex_ast_introspect): replace undefined TypeException with TypeError#162
SoundMatt wants to merge 1 commit into
COVESA:masterfrom
SoundMatt:fix/ifex-ast-introspect-typeexception

Conversation

@SoundMatt

Copy link
Copy Markdown
Contributor

TypeException is not a built-in or defined anywhere in the codebase.
Calling get_variant_types() on a misconfigured Typedef would
therefore raise a NameError instead of the intended error.
Replace with the standard TypeError.

Co-Authored-By: Claude Sonnet 4.6 noreply@anthropic.com

`TypeException` is not defined anywhere; the correct built-in is
`TypeError`.  Calling `get_variant_types()` on a misconfigured Typedef
would raise a `NameError` instead of the intended exception.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

Signed-off-by: Matt Jones <47545907+SoundMatt@users.noreply.github.com>
@gunnar-mb

gunnar-mb commented Jun 25, 2026

Copy link
Copy Markdown
Collaborator

Hello @SoundMatt

I only saw your many PRs now and will go through them when there is time.

I feel that just because an AI model can suggest many small changes, doesn't mean it is worth taking all of it since it creates many modifications that both users/developers have to deal with.

If there are many modifications, we may leave a current practical approach of working primarily on master, and prepare a new major-release separately, probably on a working branch first.

TypeException is not a built-in or defined anywhere in the codebase

I agree this one is easy and has a good explanation, I am just speaking in general since there are so many to look at. Let's take some time to review.

@gunnar-mb

Copy link
Copy Markdown
Collaborator

By the way, now that I know which Matt you are, great to see you here! 😊

@SoundMatt

SoundMatt commented Jun 25, 2026 via email

Copy link
Copy Markdown
Contributor Author

@gunnar-mb

Copy link
Copy Markdown
Collaborator

TypeException appears in more places. Let's fix it everywhere.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants