Skip to content

BUG: Fix NULL special case in object-to-any cast code - #19392

Merged
charris merged 1 commit into
numpy:maintenance/1.21.xfrom
charris:backport-19380
Jul 1, 2021
Merged

BUG: Fix NULL special case in object-to-any cast code#19392
charris merged 1 commit into
numpy:maintenance/1.21.xfrom
charris:backport-19380

Conversation

@charris

@charris charris commented Jul 1, 2021

Copy link
Copy Markdown
Member

Backport of #19380.

Apparently np.empty_like is an easy way to create NULL filled
object arrays. In general, it is not typical, which explains
how this case could have managed to not be found by our tests
or downstream tests.

Closes gh-19373

Apparently `np.empty_like` is an easy way to create NULL filled
object arrays.  In general, it is not typical, which explains
how this case could have managed to not be found by our tests
or downstream tests.

Closes numpygh-19373
@charris charris added 00 - Bug 08 - Backport Used to tag backport PRs labels Jul 1, 2021
@charris charris added this to the 1.21.1 release milestone Jul 1, 2021
@charris
charris merged commit c1ba1dc into numpy:maintenance/1.21.x Jul 1, 2021
@charris
charris deleted the backport-19380 branch July 1, 2021 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

00 - Bug 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants