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

REV: "ENH: Improved performance of PyArray_FromAny for sequences of a…" #15027

Merged
merged 1 commit into from Dec 2, 2019

Conversation

charris
Copy link
Member

@charris charris commented Dec 2, 2019

Second try at this, #14983 was incomplete.

This reverts commit 71fc59d
which was part of gh-13399 and the followup commit
ba53a63 from gh-13663.

The issue is that we mix Sequence protocol and __array__ usage when
coercing arrays. It seems easiest to revert this and rethink this for 1.19.x .

…rray-like"

This reverts commit 71fc59d
which was part of numpygh-13399 and the followup commit
ba53a63 from numpygh-13663.

The issue is that we mix Sequence protocol and `__array__` usage when
coercing arrays. It seems easiest to revert this for the 1.18.x release
and make a larger breaking change in the 1.19.x release cycle.  Since
this only occurs for stranger array-likes.
@seberg
Copy link
Member

seberg commented Dec 2, 2019

Thanks, sorry that the other try did not work out and just delayed this. LGTM, just waiting for the tests to run through.

@seberg
Copy link
Member

seberg commented Dec 2, 2019

Sorry @mattip, but I think we probably should just put this in, and then try the actual cleanup just after branching :(.

@charris charris merged commit dc94b2f into numpy:master Dec 2, 2019
@charris charris deleted the revert-71fc59d branch December 2, 2019 23:49
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