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

MAINT: Remove 'a' dtype alias by mtsokol · Pull Request #24854 · numpy/numpy · GitHub

/ numpy Public

MAINT: Remove 'a' dtype alias - #24854

Merged
rgommers merged 2 commits into
numpy:mainfrom
mtsokol:remove-a-dtype-alias
Oct 4, 2023
Merged

rgommers merged 2 commits into
numpy:mainfrom
mtsokol:remove-a-dtype-alias

Conversation

mtsokol commented Oct 4, 2023

Copy link
Copy Markdown
Member

Hi @rgommers,

In this PR I removed np.dtype("a") alias that is the same as np.dtype(bytes). I found only 10 legacy usages in the GitHub search, would you like to have a migration message here also?

rgommers commented Oct 4, 2023

Copy link
Copy Markdown
Member

Thanks @mtsokol! Looks like we had some tests that exercised 'a' which now need changing.

rgommers added this to the 2.0.0 release milestone Oct 4, 2023

mtsokol commented Oct 4, 2023

Copy link
Copy Markdown
Member Author

That's right - fixing them now.

mtsokol force-pushed the remove-a-dtype-alias branch 2 times, most recently from 9829f0f to cdc8c81 Compare October 4, 2023 15:04
mtsokol force-pushed the remove-a-dtype-alias branch from cdc8c81 to 0666e33 Compare October 4, 2023 15:22

rgommers left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

This looks happy now, the one CI failure is unrelated. All LGTM, and this was already discussed on the previous PR - so in it goes. Thanks Mateusz

rgommers merged commit 01e33cd into numpy:main Oct 4, 2023
rgommers added the 62 - Python API Changes or additions to the Python API. Mailing list should usually be notified. label Oct 4, 2023
mtsokol deleted the remove-a-dtype-alias branch October 4, 2023 18:49
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

Labels

03 - Maintenance 62 - Python API Changes or additions to the Python API. Mailing list should usually be notified.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants


Back | FazBrowse Home | New Git URL