René's URL Explorer Experiment


Title: PEP 702 – Marking deprecations using the type system | peps.python.org

Open Graph Title: PEP 702 – Marking deprecations using the type system | peps.python.org

Description: This PEP adds an @warnings.deprecated() decorator that marks a class or function as deprecated, enabling static checkers to warn when it is used. By default, this decorator will also raise a runtime DeprecationWarning.

Open Graph Description: This PEP adds an @warnings.deprecated() decorator that marks a class or function as deprecated, enabling static checkers to warn when it is used. By default, this decorator will also raise a runtime DeprecationWarning.

Opengraph URL: https://peps.python.org/pep-0702/

direct link

Domain: peps.python.org

color-schemelight dark
og:typewebsite
og:site_namePython Enhancement Proposals (PEPs)
og:imagehttps://peps.python.org/_static/og-image.png
og:image:altPython PEPs
og:image:width200
og:image:height200
theme-color#3776ab

Links:

Pythonhttps://www.python.org/
PEP Indexhttps://peps.python.org/
Discourse threadhttps://discuss.python.org/t/pep-702-marking-deprecations-using-the-type-system/23036
Typinghttps://peps.python.org/topic/typing/
01-Jan-2023https://mail.python.org/archives/list/typing-sig@python.org/thread/AKTFUYW3WDT7R7PGRIJQZMYHMDJNE4QH/
22-Jan-2023https://discuss.python.org/t/pep-702-marking-deprecations-using-the-type-system/23036
07-Nov-2023https://discuss.python.org/t/pep-702-marking-deprecations-using-the-type-system/23036/61
Abstracthttps://peps.python.org/702#abstract
Motivationhttps://peps.python.org/702#motivation
Rationalehttps://peps.python.org/702#rationale
Specificationhttps://peps.python.org/702#specification
Examplehttps://peps.python.org/702#example
Runtime behaviorhttps://peps.python.org/702#runtime-behavior
Type checker behaviorhttps://peps.python.org/702#type-checker-behavior
Deprecation policyhttps://peps.python.org/702#deprecation-policy
Backwards compatibilityhttps://peps.python.org/702#backwards-compatibility
How to teach thishttps://peps.python.org/702#how-to-teach-this
Reference implementationhttps://peps.python.org/702#reference-implementation
Rejected ideashttps://peps.python.org/702#rejected-ideas
Deprecation of modules and attributeshttps://peps.python.org/702#deprecation-of-modules-and-attributes
Placing the decorator in the typing modulehttps://peps.python.org/702#placing-the-decorator-in-the-typing-module
Acknowledgmentshttps://peps.python.org/702#acknowledgments
Copyrighthttps://peps.python.org/702#copyright
@deprecatedhttps://typing.python.org/en/latest/spec/directives.html#deprecated
@warnings.deprecatedhttps://docs.python.org/3.13/library/warnings.html#warnings.deprecated
typing specs sitehttps://typing.python.org/en/latest/spec/
typing specification update processhttps://typing.python.org/en/latest/spec/meta.html
Abstracthttps://peps.python.org/702#abstract
Motivationhttps://peps.python.org/702#motivation
DeprecationWarninghttps://docs.python.org/3/library/exceptions.html#DeprecationWarning
top 5000 PyPI packageshttps://dev.to/hugovk/how-to-search-5000-python-projects-31gk
unittesthttps://docs.python.org/3/library/unittest.html#module-unittest
revertedhttps://github.com/python/cpython/commit/b50322d20337ca468f2070eedb051a16ee1eba94
Rationalehttps://peps.python.org/702#rationale
attributehttps://gcc.gnu.org/onlinedocs/gcc-3.1.1/gcc/Type-Attributes.html
supportshttps://spec.graphql.org/June2018/#sec-Field-Deprecation
supportshttps://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-deprecated/
supportshttps://www.scala-lang.org/api/2.12.5/scala/deprecated.html
supportshttps://docs.swift.org/swift-book/ReferenceManual/Attributes.html
useshttps://www.typescriptlang.org/docs/handbook/jsdoc-supported-types.html#deprecated
typing-sig threadhttps://mail.python.org/archives/list/typing-sig@python.org/thread/E24WTMQUTGKPFKEXVCGGEFFMG7LDF3WT/
Pyright feature requesthttps://github.com/microsoft/pyright/discussions/2300
mypy feature requesthttps://github.com/python/mypy/issues/11439
Deprecatedhttps://pypi.org/project/Deprecated/
flake8-deprecatedhttps://pypi.org/project/flake8-deprecated/
Specificationhttps://peps.python.org/702#specification
warningshttps://docs.python.org/3/library/warnings.html#module-warnings
typing.TypedDicthttps://docs.python.org/3/library/typing.html#typing.TypedDict
typing.NamedTuplehttps://docs.python.org/3/library/typing.html#typing.NamedTuple
inspect.cleandoc()https://docs.python.org/3/library/inspect.html#inspect.cleandoc
typing.override()https://docs.python.org/3/library/typing.html#typing.override
PEP 698https://peps.python.org/pep-0698/
typing.Protocolhttps://docs.python.org/3/library/typing.html#typing.Protocol
Examplehttps://peps.python.org/702#example
Runtime behaviorhttps://peps.python.org/702#runtime-behavior
DeprecationWarninghttps://docs.python.org/3/library/exceptions.html#DeprecationWarning
typing.get_overloads()https://docs.python.org/3/library/typing.html#typing.get_overloads
Type checker behaviorhttps://peps.python.org/702#type-checker-behavior
Deprecation policyhttps://peps.python.org/702#deprecation-policy
PEP 387https://peps.python.org/pep-0387/
Backwards compatibilityhttps://peps.python.org/702#backwards-compatibility
How to teach thishttps://peps.python.org/702#how-to-teach-this
PEP 387https://peps.python.org/pep-0387/
DeprecationWarninghttps://docs.python.org/3/library/exceptions.html#DeprecationWarning
Reference implementationhttps://peps.python.org/702#reference-implementation
typing-extensionshttps://pypi.org/project/typing-extensions/
prototype supporthttps://github.com/quora/pyanalyze/pull/578
Pyrighthttps://github.com/microsoft/pyright/issues/4456
Rejected ideashttps://peps.python.org/702#rejected-ideas
Deprecation of modules and attributeshttps://peps.python.org/702#deprecation-of-modules-and-attributes
examinedhttps://gist.github.com/JelleZijlstra/ff459edc5ff0918e22b56740bb28eb8b
PEP 594https://peps.python.org/pep-0594/
asyncio.get_event_loop()https://docs.python.org/3/library/asyncio-eventloop.html#asyncio.get_event_loop
Placing the decorator in the typing modulehttps://peps.python.org/702#placing-the-decorator-in-the-typing-module
typinghttps://docs.python.org/3/library/typing.html#module-typing
typinghttps://docs.python.org/3/library/typing.html#module-typing
warningshttps://docs.python.org/3/library/warnings.html#module-warnings
Acknowledgmentshttps://peps.python.org/702#acknowledgments
Copyrighthttps://peps.python.org/702#copyright
Abstracthttps://peps.python.org/702#abstract
Motivationhttps://peps.python.org/702#motivation
Rationalehttps://peps.python.org/702#rationale
Specificationhttps://peps.python.org/702#specification
Examplehttps://peps.python.org/702#example
Runtime behaviorhttps://peps.python.org/702#runtime-behavior
Type checker behaviorhttps://peps.python.org/702#type-checker-behavior
Deprecation policyhttps://peps.python.org/702#deprecation-policy
Backwards compatibilityhttps://peps.python.org/702#backwards-compatibility
How to teach thishttps://peps.python.org/702#how-to-teach-this
Reference implementationhttps://peps.python.org/702#reference-implementation
Rejected ideashttps://peps.python.org/702#rejected-ideas
Deprecation of modules and attributeshttps://peps.python.org/702#deprecation-of-modules-and-attributes
Placing the decorator in the typing modulehttps://peps.python.org/702#placing-the-decorator-in-the-typing-module
Acknowledgmentshttps://peps.python.org/702#acknowledgments
Copyrighthttps://peps.python.org/702#copyright
Page Source (GitHub)https://github.com/python/peps/blob/main/peps/pep-0702.rst?plain=1
https://github.com/python/peps/blob/main/peps/pep-0702.rsthttps://github.com/python/peps/blob/main/peps/pep-0702.rst
2024-10-16 16:05:18 UTChttps://github.com/python/peps/commits/main/peps/pep-0702.rst

Viewport: width=device-width, initial-scale=1.0


URLs of crawlers that visited me.