-
Notifications
You must be signed in to change notification settings - Fork 55
skip signature degrading #38
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
Comments
Hi! The errors should motivate people to fix/report original binding code problems. I see the extra flag as ad-hoc solution for those who generate stubs for 3rd-party libraries. |
Fair assessment. Note that it is unclear to me if you're open to adding this flag? |
I'll merge it in a minute with a minor changes. I want to add a handy link to pybind11 doc/issue which would describe the problem with C++ signatures in docstrings. |
Ok, such issue / docs paragraph does not exist (yet), can add it later. |
@sizmailov fwiw; I think this issue describes it pybind/pybind11#2263 |
The "forward declaration" technique in Yannick's comment is quite useful. I use it all over the place. This example should be in pybind11 docs though. |
I just upgraded to
0.6.2
and am now facing something like thisThe general idea is cool, but it would be nice if there is a cli flag to skip this downgrading. For example I do a second pass on the generates stubs to fix these myself.
The text was updated successfully, but these errors were encountered: