Skip to content
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

BUG: Fix f2py generated code to work on PyPy #10726

Merged
merged 1 commit into from
Mar 11, 2018

Conversation

charris
Copy link
Member

@charris charris commented Mar 11, 2018

Backport of #10657.

F2py generates code that uses PyTuple_SetItem on a tuple that has been
"used", which is invalid on Pypy.

Add #ifdefs that make the generated code convert the object to a list,
use PyList_SetItem, and then convert it back to a tuple.

F2py generates code that uses PyTuple_SetItem on a tuple that has been
"used", which is invalid on Pypy.

Add #ifdefs that make the generated code convert the object to a list,
use PyList_SetItem, and then convert it back to a tuple.
@charris charris added this to the 1.14.2 release milestone Mar 11, 2018
@charris charris merged commit 25fd516 into numpy:maintenance/1.14.x Mar 11, 2018
@charris charris deleted the backport-10657 branch March 12, 2018 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants