[ ![Python logo](../_static/py.svg) ](https://www.python.org/)

Theme  Auto  Light  Dark

###  [ Table of Contents ](../contents.html)

  * Whatâs New In Python 3.12 
    * Summary â Release highlights 
    * New Features 
      * PEP 695: Type Parameter Syntax 
      * PEP 701: Syntactic formalization of f-strings 
      * PEP 684: A Per-Interpreter GIL 
      * PEP 669: Low impact monitoring for CPython 
      * PEP 688: Making the buffer protocol accessible in Python 
      * PEP 709: Comprehension inlining 
      * Improved Error Messages 
    * New Features Related to Type Hints 
      * PEP 692: Using ` TypedDict  ` for more precise ` **kwargs  ` typing 
      * PEP 698: Override Decorator for Static Typing 
    * Other Language Changes 
    * New Modules 
    * Improved Modules 
      * array 
      * asyncio 
      * calendar 
      * csv 
      * dis 
      * fractions 
      * importlib.resources 
      * inspect 
      * itertools 
      * math 
      * os 
      * os.path 
      * pathlib 
      * pdb 
      * random 
      * shutil 
      * sqlite3 
      * statistics 
      * sys 
      * tempfile 
      * threading 
      * tkinter 
      * tokenize 
      * types 
      * typing 
      * unicodedata 
      * unittest 
      * uuid 
    * Optimizations 
    * CPython bytecode changes 
    * Demos and Tools 
    * Deprecated 
      * Pending Removal in Python 3.13 
      * Pending Removal in Python 3.14 
      * Pending Removal in Python 3.15 
      * Pending Removal in Future Versions 
    * Removed 
      * asynchat and asyncore 
      * configparser 
      * distutils 
      * ensurepip 
      * enum 
      * ftplib 
      * gzip 
      * hashlib 
      * importlib 
      * imp 
      * io 
      * locale 
      * smtpd 
      * sqlite3 
      * ssl 
      * unittest 
      * webbrowser 
      * xml.etree.ElementTree 
      * zipimport 
      * Others 
    * Porting to Python 3.12 
      * Changes in the Python API 
    * Build Changes 
    * C API Changes 
      * New Features 
      * Porting to Python 3.12 
      * Deprecated 
        * Pending Removal in Python 3.14 
        * Pending Removal in Python 3.15 
        * Pending Removal in Future Versions 
      * Removed 

####  Previous topic

[ Whatâs New in Python ](index.html "previous chapter")

####  Next topic

[ Whatâs New In Python 3.11 ](3.11.html "next chapter")

###  This Page

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

###  Navigation

  * [ index ](../genindex.html "General Index")
  * [ modules ](../py-modindex.html "Python Module Index") | 
  * [ next ](3.11.html "Whatâs New In Python 3.11") | 
  * [ previous ](index.html "Whatâs New in Python") | 
  * ![Python logo](../_static/py.svg)
  * [ Python ](https://www.python.org/) » 
  *   *   * [ 3.12.2 Documentation ](../index.html) » 
  * [ Whatâs New in Python ](index.html) » 
  * [ Whatâs New In Python 3.12 ]()
  * | 
  * Theme  Auto  Light  Dark  | 

#  Whatâs New In Python 3.12  Â¶

Editor  :

    

Adam Turner

This article explains the new features in Python 3.12, compared to 3.11.
Python 3.12 was released on October 2, 2023. For full details, see the [
changelog  ](changelog.html#changelog) .

See also

[ **PEP 693** ](https://peps.python.org/pep-0693/) â Python 3.12 Release
Schedule