-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
Raise DeprecationWarning
for sys._clear_type_cache
#129027
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
Comments
As far as I can see, it's tested, documented, and only marked as deprecated in the docs. Isn't that what soft deprecation is? |
What I meant is, the docs don't specifically mention that it is soft-deprecated (I don't actually know if this is a requirement, some deprecated items mention soft-deprecation explicitly, does a lack of an explicit mention imply it is not soft-deprecated?). If it were soft-deprecated, we should not be adding a warning. |
Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <1324225+hugovk@users.noreply.github.com>
Feature or enhancement
Proposal:
sys._clear_type_cache
was deprecated in 3.13 in favour ofsys._clear_internal_caches
, however there is no runtimeDeprecationWarning
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
Linked PRs
The text was updated successfully, but these errors were encountered: