##  Deprecation Timeline of Major Features  Â¶

Certain features in ` typing  ` are deprecated and may be removed in a future
version of Python. The following table summarizes major deprecations for your
convenience. This is subject to change, and not all deprecations are listed.

Feature  |  Deprecated in  |  Projected removal  |  PEP/issue   
---|---|---|---  
` typing.io  ` and ` typing.re  ` submodules  |  3.8  |  3.13  |  [ bpo-38291 ](https://bugs.python.org/issue?@action=redirect&bpo=38291)  
` typing  ` versions of standard collections  |  3.9  |  Undecided (see  Deprecated aliases  for more information)  |  [ **PEP 585** ](https://peps.python.org/pep-0585/)  
` typing.ByteString  ` |  3.9  |  3.14  |  [ gh-91896 ](https://github.com/python/cpython/issues/91896)  
` typing.Text  ` |  3.11  |  Undecided  |  [ gh-92332 ](https://github.com/python/cpython/issues/92332)  
` typing.Hashable  ` and  ` typing.Sized  ` |  3.12  |  Undecided  |  [ gh-94309 ](https://github.com/python/cpython/issues/94309)  
` typing.TypeAlias  ` |  3.12  |  Undecided  |  [ **PEP 695** ](https://peps.python.org/pep-0695/)  
  
###  [ Table of Contents ](../contents.html)

  * ` typing  ` â Support for type hints 
    * Specification for the Python Type System 
    * Type aliases 
    * NewType 
    * Annotating callable objects 
    * Generics 
    * Annotating tuples 
    * The type of class objects 
    * User-defined generic types 
    * The ` Any  ` type 
    * Nominal vs structural subtyping 
    * Module contents 
      * Special typing primitives 
        * Special types 
        * Special forms 
        * Building generic types and type aliases 
        * Other special directives 
      * Protocols 
      * ABCs for working with IO 
      * Functions and decorators 
      * Introspection helpers 
      * Constant 
      * Deprecated aliases 
        * Aliases to built-in types 
        * Aliases to types in ` collections  `
        * Aliases to other concrete types 
        * Aliases to container ABCs in ` collections.abc  `
        * Aliases to asynchronous ABCs in ` collections.abc  `
        * Aliases to other ABCs in ` collections.abc  `
        * Aliases to ` contextlib  ` ABCs 
    * Deprecation Timeline of Major Features 

####  Previous topic

[ Development Tools ](development.html "previous chapter")

####  Next topic

[ ` pydoc  ` â Documentation generator and online help system ](pydoc.html
"next chapter")

###  This Page

  * [ Report a Bug ](../bugs.html)
  * [ Show Source ](https://github.com/python/cpython/blob/main/Doc/library/typing.rst)

Â«

###  Navigation

  * [ index ](../genindex.html "General Index")
  * [ modules ](../py-modindex.html "Python Module Index") | 
  * [ next ](pydoc.html "pydoc â Documentation generator and online help system") | 
  * [ previous ](development.html "Development Tools") | 
  * ![Python logo](../_static/py.svg)
  * [ Python ](https://www.python.org/) » 
  *   *   * [ 3.12.2 Documentation ](../index.html) » 
  * [ The Python Standard Library ](index.html) » 
  * [ Development Tools ](development.html) » 
  * [ ` typing  ` â Support for type hints ]()
  * | 
  * Theme  Auto  Light  Dark  | 

© [ Copyright ](../copyright.html) 2001-2024, Python Software Foundation.  
This page is licensed under the Python Software Foundation License Version 2.  
Examples, recipes, and other code in the documentation are additionally
licensed under the Zero Clause BSD License.  
See [ History and License ](/license.html) for more information.  
  
The Python Software Foundation is a non-profit corporation. [ Please donate.
](https://www.python.org/psf/donations/)  
  
Last updated on Apr 08, 2024 (20:44 UTC). [ Found a bug ](/bugs.html) ?  
Created using [ Sphinx ](https://www.sphinx-doc.org/) 7.2.6.