-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Trying to import a module inside of the project() statement crashes Meson #5134
Closed
Comments
This was referenced Sep 9, 2024
amcn
added a commit
to amcn/meson
that referenced
this issue
Sep 9, 2024
If a user imports a module and invokes a method on it, a raw Python exception is raised to the user. This commit adds a check to ensure that in this case an appropriate exception is raised instead. A test has been added to ensure that this exception is in fact raised on offending code. Fixes: mesonbuild#11393, mesonbuild#5134
eli-schwartz
pushed a commit
that referenced
this issue
Sep 15, 2024
If a user imports a module and invokes a method on it, a raw Python exception is raised to the user. This commit adds a check to ensure that in this case an appropriate exception is raised instead. A test has been added to ensure that this exception is in fact raised on offending code. Fixes: #11393, #5134
eli-schwartz
pushed a commit
that referenced
this issue
Sep 16, 2024
If a user imports a module and invokes a method on it, a raw Python exception is raised to the user. This commit adds a check to ensure that in this case an appropriate exception is raised instead. A test has been added to ensure that this exception is in fact raised on offending code. Fixes: #11393, #5134 (cherry picked from commit 74dd77e)
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I admit this is not a bright idea, but an unhandled exception is still a bug, so I'm reporting it.
The text was updated successfully, but these errors were encountered: