Skip to content

fix: fully deprecate get_type_of (deprecated in 2.6 but no warning) #5596

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 1 commit into from
Apr 9, 2025

Conversation

henryiii
Copy link
Collaborator

@henryiii henryiii commented Apr 1, 2025

Signed-off-by: Henry Schreiner [email protected]

Description

This was deprecated in pybind11 2.6 (2020), but never produced the normal warning. Adding the warning now.

Suggested changelog entry:

* Add a deprecation warning to ``.get_type`` (deprecated in pybind11 2.6 in 2020)

@henryiii henryiii changed the title fix: fully deprecate get_type_of (deprecated in 2.6 but no warning fix: fully deprecate get_type_of (deprecated in 2.6 but no warning) Apr 1, 2025
@henryiii
Copy link
Collaborator Author

henryiii commented Apr 9, 2025

Thanks!

@henryiii henryiii merged commit 73ad309 into pybind:master Apr 9, 2025
75 checks passed
@henryiii henryiii deleted the henryiii/fix/warntype branch April 9, 2025 03:43
@github-actions github-actions bot added the needs changelog Possibly needs a changelog entry label Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
needs changelog Possibly needs a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants