InvalidExpression errors when generating stubs for functions with default attributes #265
Unanswered
alfonsoSR
asked this question in
Q&A / Support
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hi!
I am using
pybind11-stubgento produce stubs for my library, and I have been stuck for a while with this list of warningsThe common thing I see between all of these enums is that they are used as default value of an argument of some function, and they are always associated with an
InvalidExpressionerror. This is a snippet of code that results into one of these warningsI have been trying to look for similar discussions or documentation on the internet, but I haven't found anything. I would like to know what is the reason for these
InvalidExpressionerrors, so that we can adapt the codebase and remove them.All reactions