FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

TYP: Relax the return-type of np.vectorize by charris · Pull Request #20908 · numpy/numpy · GitHub

/ numpy Public

TYP: Relax the return-type of np.vectorize - #20908

Merged
charris merged 2 commits into
numpy:maintenance/1.22.xfrom
charris:backport-20858
Jan 28, 2022
Merged

charris merged 2 commits into
numpy:maintenance/1.22.xfrom
charris:backport-20858

Conversation

charris commented Jan 27, 2022

Copy link
Copy Markdown
Member

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 added this to the 1.22.2 release milestone Jan 27, 2022
charris merged commit 8c74847 into numpy:maintenance/1.22.x Jan 28, 2022
charris added the 08 - Backport Used to tag backport PRs label Jan 28, 2022
charris deleted the backport-20858 branch January 29, 2022 19:11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

2 participants


Back | FazBrowse Home | New Git URL