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

Expose deprecations using PEP 702 #165

Open
jtojnar opened this issue Feb 6, 2024 · 2 comments · May be fixed by #167
Open

Expose deprecations using PEP 702 #165

jtojnar opened this issue Feb 6, 2024 · 2 comments · May be fixed by #167

Comments

@jtojnar
Copy link
Contributor

jtojnar commented Feb 6, 2024

There is now PEP 702 – Marking deprecations using the type system, which might be useful for updating deprecated code.

@lovetox
Copy link
Collaborator

lovetox commented Feb 6, 2024

@mat-xc do you know if the introspection files contain the information if the method is deprecated?

@jtojnar
Copy link
Contributor Author

jtojnar commented Feb 6, 2024

GI.BaseInfo.is_deprecated() method is what PyGObject itself uses.

@matperc matperc linked a pull request Feb 10, 2024 that will close this issue
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 a pull request may close this issue.

2 participants