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

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

Merged
merged 1 commit into from
Dec 18, 2020

Conversation

charris
Copy link
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.

None yet

2 participants