Skip to content

chore: simplify numpy dtype ctor #3869

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

Merged
merged 3 commits into from
Apr 14, 2022

Conversation

Skylion007
Copy link
Collaborator

@Skylion007 Skylion007 commented Apr 14, 2022

Description

When reviewing another PR #3868, I noticed one of the ctors could be simplified using ctor delegation so I went ahead an added a tiny PR to do that.
Also removed a few python 2 compat macros in numpy.h

@Skylion007 Skylion007 requested review from rwgk and henryiii April 14, 2022 15:40
@Skylion007
Copy link
Collaborator Author

Ping @oleksandr-pavlyk since relevant to prior PR.

@rwgk rwgk merged commit 3829b76 into pybind:master Apr 14, 2022
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Apr 14, 2022
@Skylion007 Skylion007 deleted the skylion007/make-dtype-ctor-memb-init branch April 14, 2022 21:26
@rwgk
Copy link
Collaborator

rwgk commented Apr 14, 2022

post-merge CI failure is a known flake

@rwgk rwgk removed the needs changelog Possibly needs a changelog entry label Apr 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants