Skip to content

Conversation

@BvB93
Copy link
Member

@BvB93 BvB93 commented Jun 16, 2020

This pull requests addresses and implement two previous TODO's in np.typing._DTypeLike:

  • Added a protocol, _SupportsDtype, for objects with the dtype attribute.
  • Replaced an old dictionary, representing array field parameter, with a TypedDict.

@BvB93
Copy link
Member Author

BvB93 commented Jun 24, 2020

During the latest rebase two issues were introduced by accident.
They have been resolved now (see 9d16ab7 for more details).

Copy link
Member

@anirudh2290 anirudh2290 left a 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 !

@BvB93
Copy link
Member Author

BvB93 commented Jul 30, 2020

Rebased to get rid of the circleci failure.

Addresses numpy#16622 (comment)

Co-Authored-By: Eric Wieser <eric-wieser@users.noreply.github.com>
@BvB93
Copy link
Member Author

BvB93 commented Jul 30, 2020

If there are no more comments, remarks, etc. then let's get this merged soon, as #16917 is also waiting on this pull request.

@person142
Copy link
Member

I’ll take another look tonight.

@person142
Copy link
Member

Looks good to me, and test failure is unrelated so merging. Thanks @BvB93.

@person142 person142 merged commit b66f02b into numpy:master Jul 31, 2020
@BvB93 BvB93 deleted the typed-dict branch August 4, 2020 13:38
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.

4 participants