You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PEP 702 introduces a new typing.deprecated decorator, we should use it.
What is the feature request for?
The core library
The Problem
A more standard way of declaring deprecations
The Ideal Solution
Internally call typing.deprecated inside of utils.deprecated, instead of manually creating a warning (or maybe both?)
The Current Solution
No response
Additional Context
Although @typing.deprecated is slated for python 3.12, it was added to typing-extensions in python/typing_extensions#105, and we should use this for backwards support.
The text was updated successfully, but these errors were encountered:
Summary
PEP 702 introduces a new typing.deprecated decorator, we should use it.
What is the feature request for?
The core library
The Problem
A more standard way of declaring deprecations
The Ideal Solution
Internally call
typing.deprecated
inside ofutils.deprecated
, instead of manually creating a warning (or maybe both?)The Current Solution
No response
Additional Context
Although
@typing.deprecated
is slated for python 3.12, it was added to typing-extensions in python/typing_extensions#105, and we should use this for backwards support.The text was updated successfully, but these errors were encountered: