8000 BUG: f2py data statement not parsed correctly for arrays · Issue #23276 · numpy/numpy · GitHub
[go: up one dir, main page]

Skip to content

BUG: f2py data statement not parsed correctly for arrays #23276

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 sen 10000 d you account related emails.

Already on GitHub? Sign in to your account

Closed
arunoruto opened this issue Feb 25, 2023 · 0 comments · Fixed by #23282
Closed

BUG: f2py data statement not parsed correctly for arrays #23276

arunoruto opened this issue Feb 25, 2023 · 0 comments · Fixed by #23282

Comments

@arunoruto
Copy link

Describe the issue:

When using the data statement as defined here, it seems to splice the array always the comma, without taking into consideration, if that comma is inside of parentheses.

Reproduce the code example:

# For example, this
complex(8), target :: medium_ref_index
data medium_ref_index/(1.d0, 0.d0)/

# results in a signature file containing
complex(kind=8), target,optional :: medium_ref_index=(1.d0

Error message:

No response

Runtime information:

1.24.2
3.11.2 (main, Feb 8 2023, 00:00:00) [GCC 12.2.1 20221121 (Red Hat 12.2.1-4)]

Context for the issue:

No response

HaoZeke added a commit to HaoZeke/numpy that referenced this issue Feb 26, 2023
HaoZeke added a commit to HaoZeke/numpy that referenced this issue Feb 26, 2023
HaoZeke added a commit to HaoZeke/numpy that referenced this issue Apr 15, 2023
HaoZeke added a commit to HaoZeke/numpy that referenced this issue Apr 15, 2023
charris pushed a commit to charris/numpy that referenced this issue Sep 13, 2023
charris pushed a commit to charris/numpy that referenced this issue Sep 13, 2023
charris pushed a commit to charris/numpy that referenced this issue Nov 11, 2023
charris pushed a commit to charris/numpy that referenced this issue Nov 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
0