Skip to content

DEP: Futurewarn on requiring __len__ on array-likes#18024

Merged
charris merged 1 commit into
numpy:maintenance/1.20.xfrom
charris:backport-17973
Dec 18, 2020
Merged

DEP: Futurewarn on requiring __len__ on array-likes#18024
charris merged 1 commit into
numpy:maintenance/1.20.xfrom
charris:backport-17973

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Dec 18, 2020

Backport of #17973.

This fixes issue gh-17965. The slightly annoying thing is that
there is no simple way to opt-in to the new behaviour and the old
behaviour is a bit quirky to begin with (honoring the dtype, but
not the shape).

This fixes issue numpygh-17965.  The slightly annoying thing is that
there is no simple way to opt-in to the new behaviour and the old
behaviour is a bit quirky to begin with (honoring the dtype, but
not the shape).
@charris charris added 07 - Deprecation 08 - Backport Used to tag backport PRs labels Dec 18, 2020
@charris charris added this to the 1.20.0 release milestone Dec 18, 2020
@charris charris merged commit fcdc942 into numpy:maintenance/1.20.x Dec 18, 2020
@charris charris deleted the backport-17973 branch December 18, 2020 20:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

07 - Deprecation 08 - Backport Used to tag backport PRs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants