Skip to content

TYP,ENH: Mark numpy.typing protocols as runtime checkable#22388

Merged
charris merged 1 commit intonumpy:maintenance/1.23.xfrom
charris:backport-22357
Oct 6, 2022
Merged

TYP,ENH: Mark numpy.typing protocols as runtime checkable#22388
charris merged 1 commit intonumpy:maintenance/1.23.xfrom
charris:backport-22357

Conversation

@charris
Copy link
Copy Markdown
Member

@charris charris commented Oct 6, 2022

Backport of #22357.

Closes #22352

The protocols used in npt.ArrayLike and npt.DTypeLike were previously not marked as runtime checkable while they easily could have been (the lack therefor being more of an oversight). This PR addresses aforementioned issue.

@charris charris added this to the 1.23.4 release milestone Oct 6, 2022
@charris charris merged commit bd936cc into numpy:maintenance/1.23.x Oct 6, 2022
@charris charris deleted the backport-22357 branch October 6, 2022 02:10
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