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

Raise DeprecationWarning for sys._clear_type_cache #129027

Open
tomasr8 opened this issue Jan 19, 2025 · 0 comments
Open

Raise DeprecationWarning for sys._clear_type_cache #129027

tomasr8 opened this issue Jan 19, 2025 · 0 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement

Comments

@tomasr8
Copy link
Member

tomasr8 commented Jan 19, 2025

Feature or enhancement

Proposal:

sys._clear_type_cache was deprecated in 3.13 in favour of sys._clear_internal_caches, however there is no runtime DeprecationWarning raised. Should we add one? AFAICT, it is not soft-deprecated, so the intent is to eventually remove it.

cc @brandtbucher since you deprecated sys._clear_type_cache in #115152.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

@tomasr8 tomasr8 added the type-feature A feature request or enhancement label Jan 19, 2025
@picnixz picnixz added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

2 participants