Skip to content

BUG: fix segfault in object/longdouble operations#18769

Merged
charris merged 2 commits intonumpy:maintenance/1.20.xfrom
charris:backport-18691
Apr 13, 2021
Merged

BUG: fix segfault in object/longdouble operations#18769
charris merged 2 commits intonumpy:maintenance/1.20.xfrom
charris:backport-18691

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Apr 13, 2021

Backport of #18691.

The operation None*np.longdouble(3) was causing infinite recursion as it
searched for the appropriate conversion method. This resolves that, both
for general operations and for remainders specifically (they fail in a
subtly different way).

Closes #18548

The operation None*np.longdouble(3) was causing infinite recursion as it
searched for the appropriate conversion method. This resolves that, both
for general operations and for remainders specifically (they fail in a
subtly different way).

Closes numpy#18548
@charris charris added this to the 1.20.3 release milestone Apr 13, 2021
@charris charris merged commit 586c2e7 into numpy:maintenance/1.20.x Apr 13, 2021
@charris charris deleted the backport-18691 branch April 17, 2021 20:52
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.

2 participants