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
[abrt] numpy-f2py: capi_maps.py:378:getpydocsign:KeyError: 'void' #4645
Comments
|
@pearu Thoughts? |
|
Looking at the error message, one is trying to wrap Fortran type structure. This is not supported with the current f2py. |
|
Can we fail more gracefully? |
|
Ideally, the type support can be implemented. This is not done due to lack of my time. Yes, a graceful exit would be nice. This can be done so that when a Fortran routine uses Fortran types as arguments, f2py skips wrapping such functions (with a message that f2py does not support Fortran types). Meantime, one can explicitly skip such functions: |
|
This is a special case of the more general problem (not supporting derived types). When derived type support lands this shouldn't be an issue anymore. |
There's this draft PR: #20770 and tracking issue #21160 Along with an old repo for brainstorming: https://github.com/HaoZeke/f2py_derived_nep I will probably get the draft in sometime (almost forgot) and the remaining issues can be handled in followups. |
|
Thank you! In my defense (😅) I stand surprised that my original search term |
Reported in Fedora here: https://bugzilla.redhat.com/show_bug.cgi?id=1091994
The text was updated successfully, but these errors were encountered: