Skip to content

Raise DeprecationWarning for sys._clear_type_cache #129027

Closed
@tomasr8

Description

@tomasr8

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

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions