-
Notifications
You must be signed in to change notification settings - Fork 116
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
SyntaxError at ast.parse #333
Comments
Ok, do you have any suggestions as to how I might reproduce the bug? The stack trace gives me no clue as to what is going wrong. If you could reduce the problematic module to a minimum viable case, that would help. |
The problem occurs during code compilation so just remove classes and functions until you locate the piece that causes the problem. The code in the module doesn't even have to be workable for this, just syntactically correct. |
Oh, I've finally nailed it! Updated the description. |
Oof, indeed |
I now have a test that reproduces this. |
Thanks! Hopefully, the fix would make it to 4.0.0 release. |
Of course. |
Could you test against latest master and report whether typeguard works with your code base now? |
Yep, it works now. Thanks! |
If nothing else comes up, I'll release v4.0.0 final this week. |
Amazing, thanks! |
Things to check first
I have searched the existing issues and didn't find my bug already reported there
I have checked that my bug is still present in the latest release
Typeguard version
4.0.0rc2
Python version
3.10.6
What happened?
How can we reproduce the bug?
test.py
:A.py
:Run:
The text was updated successfully, but these errors were encountered: