-
-
Notifications
You must be signed in to change notification settings - Fork 12k
MAINT: Implemented two dtype-related TODO's #16622
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
Conversation
|
During the latest rebase two issues were introduced by accident. |
anirudh2290
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes specific to this PR LGTM !
The `"titles"` key in `_DtypeDict' can take a sequence of any hashable object as argument.
* The `Protocol` baseclass of `_SupportsDtype` disappeared. * Ensure that `typing_extensions` is not imported during runtime, as it's not a hard NumPy dependency.
…., ...})` syntax Removed per the discussion in numpy#16891
|
Rebased to get rid of the circleci failure. |
Addresses numpy#16622 (comment) Co-Authored-By: Eric Wieser <eric-wieser@users.noreply.github.com>
|
If there are no more comments, remarks, etc. then let's get this merged soon, as #16917 is also waiting on this pull request. |
|
I’ll take another look tonight. |
|
Looks good to me, and test failure is unrelated so merging. Thanks @BvB93. |
This pull requests addresses and implement two previous TODO's in
np.typing._DTypeLike:_SupportsDtype, for objects with thedtypeattribute.TypedDict.