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: Relax the return-type of np.vectorize #20908

Merged
merged 2 commits into from Jan 28, 2022

Conversation

charris
Copy link
Member

@charris charris commented Jan 27, 2022

Backport of #20858.

Closes #20856

Depending on the vectorized function and the value of signature the return type can be either an array or a tuple thereof.
Set the return-type to Any for now, as guaranteeing either a tuple or an array is returned is non-trivial.

@charris charris added this to the 1.22.2 release milestone Jan 27, 2022
@charris charris merged commit 8c74847 into numpy:maintenance/1.22.x Jan 28, 2022
@charris charris added the 08 - Backport Used to tag backport PRs label Jan 28, 2022
@charris charris deleted the backport-20858 branch January 29, 2022 19:11
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