-
-
Notifications
You must be signed in to change notification settings - Fork 10.9k
BUG: Fix f2py derived types in modules #29044
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
Merged
Merged
+54
−1
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Backport of #29040.
Closes #29037.
The issue is a result of #27695 in v2.2.0.
Before 2.2.0, modules that are used in a
use
statement are skipped. In v2.2.0 (#27695), an additional check was added to only skip modules that contain acommon
block. With that, modules with derived types are no longer skipped. This PR adds a check to see if the module contains derived types, and skip it if it does.