Skip to content
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

use Python's native @deprecated decorator #204

Open
dlyongemallo opened this issue Mar 30, 2024 · 1 comment
Open

use Python's native @deprecated decorator #204

dlyongemallo opened this issue Mar 30, 2024 · 1 comment

Comments

@dlyongemallo
Copy link
Contributor

Starting in Python 3.13, there will be a native @deprecated decorator. This should be used instead of merely printing deprecation warnings (using print), as such usages can be caught by automation tools.

@jvdwetering
Copy link
Collaborator

It's good to have this on record, but I'm assuming we will only start assuming a basic version of Python 3.13 several years from now.

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

No branches or pull requests

2 participants