Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

BUG: Handle --lower for F2PY directives and callbacks #27728

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 7 commits into from
Nov 16, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
DOC: Note regarding modified fortran wrappers
  • Loading branch information
HaoZeke committed Nov 9, 2024
commit f21d18a4d1b0bd1bc5a724f6f06eb6c2ce45ba07
7 changes: 7 additions & 0 deletions 7 doc/source/f2py/python-usage.rst
Original file line number Diff line number Diff line change
Expand Up @@ -243,6 +243,13 @@ In Python:
.. literalinclude:: ./code/results/extcallback_session.dat
:language: python

.. note::

When using modified Fortran code via ``callstatement`` or other directives,
the wrapped Python function must be called as a callback, otherwise only the
bare Fortran routine will be used. For more details, see
https://github.com/numpy/numpy/issues/26681#issuecomment-2466460943

Resolving arguments to call-back functions
------------------------------------------

Expand Down
Loading
Morty Proxy This is a proxified and sanitized view of the page, visit original site.