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

TYP,MAINT: Explicitly allow sequences of array-likes in np.concatenate #21106

Merged
merged 2 commits into from Feb 26, 2022

Conversation

BvB93
Copy link
Member

@BvB93 BvB93 commented Feb 22, 2022

Backport of #21102


Closes #20901, alternative to #20903.

Explicitly allow a sequence of array-like objects in np.concatenate, rather than just array-likes.
Note that this does not fully get rid of all false positives, i.e. heterogeneous tuples of array-likes still aren't accepted due to what appears to be a mypy bug.

These all concern known false positives due to known mypy bugs. If one of these tests break, than that would generally be indicative of a upstream bug fix
@BvB93 BvB93 added this to the 1.22.3 release milestone Feb 22, 2022
@charris charris merged commit a93518f into numpy:maintenance/1.22.x Feb 26, 2022
@charris
Copy link
Member

charris commented Feb 26, 2022

Thanks Bas.

@BvB93 BvB93 deleted the concat_backport branch July 18, 2022 15:04
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