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

TYP: Relax the return-type of `np.vectorize` by BvB93 · Pull Request #20858 · numpy/numpy · GitHub

/ numpy Public

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

Merged
charris merged 2 commits into
numpy:mainfrom
BvB93:vectorize
Jan 24, 2022
Merged

charris merged 2 commits into
numpy:mainfrom
BvB93:vectorize

Conversation

BvB93 commented Jan 19, 2022

Copy link
Copy Markdown
Member

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 commented Jan 24, 2022

Copy link
Copy Markdown
Member

Thanks Bas.

BvB93 deleted the vectorize branch January 24, 2022 00:54
charris removed the 09 - Backport-Candidate PRs tagged should be backported label Jan 27, 2022
charris removed this from the 1.22.2 release milestone Jan 27, 2022
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.

BUG: Incorrect typing of return values of numpy.vectorize

2 participants


Back | FazBrowse Home | New Git URL