index.html 57 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8" />
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0" /><meta name="generator" content="Docutils 0.17.1: http://docutils.sourceforge.net/" />
  6. <meta property="og:title" content="What’s New in Python" />
  7. <meta property="og:type" content="website" />
  8. <meta property="og:url" content="https://docs.python.org/3/whatsnew/index.html" />
  9. <meta property="og:site_name" content="Python documentation" />
  10. <meta property="og:description" content="The “What’s New in Python” series of essays takes tours through the most important changes between major Python versions. They are a “must read” for anyone wishing to stay up-to-date after a new re..." />
  11. <meta property="og:image" content="https://docs.python.org/3/_static/og-image.png" />
  12. <meta property="og:image:alt" content="Python documentation" />
  13. <meta name="description" content="The “What’s New in Python” series of essays takes tours through the most important changes between major Python versions. They are a “must read” for anyone wishing to stay up-to-date after a new re..." />
  14. <meta property="og:image:width" content="200" />
  15. <meta property="og:image:height" content="200" />
  16. <meta name="theme-color" content="#3776ab" />
  17. <title>What’s New in Python &#8212; Python 3.12.0 documentation</title><meta name="viewport" content="width=device-width, initial-scale=1.0">
  18. <link rel="stylesheet" type="text/css" href="../_static/pygments.css" />
  19. <link rel="stylesheet" type="text/css" href="../_static/pydoctheme.css?digest=b37c26da2f7529d09fe70b41c4b2133fe4931a90" />
  20. <link id="pygments_dark_css" media="(prefers-color-scheme: dark)" rel="stylesheet" type="text/css" href="../_static/pygments_dark.css" />
  21. <script data-url_root="../" id="documentation_options" src="../_static/documentation_options.js"></script>
  22. <script src="../_static/jquery.js"></script>
  23. <script src="../_static/underscore.js"></script>
  24. <script src="../_static/doctools.js"></script>
  25. <script src="../_static/sidebar.js"></script>
  26. <link rel="search" type="application/opensearchdescription+xml"
  27. title="Search within Python 3.12.0 documentation"
  28. href="../_static/opensearch.xml"/>
  29. <link rel="author" title="About these documents" href="../about.html" />
  30. <link rel="index" title="Index" href="../genindex.html" />
  31. <link rel="search" title="Search" href="../search.html" />
  32. <link rel="copyright" title="Copyright" href="../copyright.html" />
  33. <link rel="next" title="What’s New In Python 3.12" href="3.12.html" />
  34. <link rel="prev" title="Python Documentation contents" href="../contents.html" />
  35. <link rel="canonical" href="https://docs.python.org/3/whatsnew/index.html" />
  36. <style>
  37. @media only screen {
  38. table.full-width-table {
  39. width: 100%;
  40. }
  41. }
  42. </style>
  43. <link rel="stylesheet" href="../_static/pydoctheme_dark.css" media="(prefers-color-scheme: dark)" id="pydoctheme_dark_css">
  44. <link rel="shortcut icon" type="image/png" href="../_static/py.svg" />
  45. <script type="text/javascript" src="../_static/copybutton.js"></script>
  46. <script type="text/javascript" src="../_static/menu.js"></script>
  47. <script type="text/javascript" src="../_static/themetoggle.js"></script>
  48. </head>
  49. <body>
  50. <div class="mobile-nav">
  51. <input type="checkbox" id="menuToggler" class="toggler__input" aria-controls="navigation"
  52. aria-pressed="false" aria-expanded="false" role="button" aria-label="Menu" />
  53. <nav class="nav-content" role="navigation">
  54. <label for="menuToggler" class="toggler__label">
  55. <span></span>
  56. </label>
  57. <span class="nav-items-wrapper">
  58. <a href="https://www.python.org/" class="nav-logo">
  59. <img src="../_static/py.svg" alt="Logo"/>
  60. </a>
  61. <span class="version_switcher_placeholder"></span>
  62. <form role="search" class="search" action="../search.html" method="get">
  63. <svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 24 24" class="search-icon">
  64. <path fill-rule="nonzero" fill="currentColor" d="M15.5 14h-.79l-.28-.27a6.5 6.5 0 001.48-5.34c-.47-2.78-2.79-5-5.59-5.34a6.505 6.505 0 00-7.27 7.27c.34 2.8 2.56 5.12 5.34 5.59a6.5 6.5 0 005.34-1.48l.27.28v.79l4.25 4.25c.41.41 1.08.41 1.49 0 .41-.41.41-1.08 0-1.49L15.5 14zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z"></path>
  65. </svg>
  66. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" />
  67. <input type="submit" value="Go"/>
  68. </form>
  69. </span>
  70. </nav>
  71. <div class="menu-wrapper">
  72. <nav class="menu" role="navigation" aria-label="main navigation">
  73. <div class="language_switcher_placeholder"></div>
  74. <label class="theme-selector-label">
  75. Theme
  76. <select class="theme-selector" oninput="activateTheme(this.value)">
  77. <option value="auto" selected>Auto</option>
  78. <option value="light">Light</option>
  79. <option value="dark">Dark</option>
  80. </select>
  81. </label>
  82. <div>
  83. <h4>Previous topic</h4>
  84. <p class="topless"><a href="../contents.html"
  85. title="previous chapter">Python Documentation contents</a></p>
  86. </div>
  87. <div>
  88. <h4>Next topic</h4>
  89. <p class="topless"><a href="3.12.html"
  90. title="next chapter">What’s New In Python 3.12</a></p>
  91. </div>
  92. <div role="note" aria-label="source link">
  93. <h3>This Page</h3>
  94. <ul class="this-page-menu">
  95. <li><a href="../bugs.html">Report a Bug</a></li>
  96. <li>
  97. <a href="https://github.com/python/cpython/blob/main/Doc/whatsnew/index.rst"
  98. rel="nofollow">Show Source
  99. </a>
  100. </li>
  101. </ul>
  102. </div>
  103. </nav>
  104. </div>
  105. </div>
  106. <div class="related" role="navigation" aria-label="related navigation">
  107. <h3>Navigation</h3>
  108. <ul>
  109. <li class="right" style="margin-right: 10px">
  110. <a href="../genindex.html" title="General Index"
  111. accesskey="I">index</a></li>
  112. <li class="right" >
  113. <a href="../py-modindex.html" title="Python Module Index"
  114. >modules</a> |</li>
  115. <li class="right" >
  116. <a href="3.12.html" title="What’s New In Python 3.12"
  117. accesskey="N">next</a> |</li>
  118. <li class="right" >
  119. <a href="../contents.html" title="Python Documentation contents"
  120. accesskey="P">previous</a> |</li>
  121. <li><img src="../_static/py.svg" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  122. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  123. <li class="switchers">
  124. <div class="language_switcher_placeholder"></div>
  125. <div class="version_switcher_placeholder"></div>
  126. </li>
  127. <li>
  128. </li>
  129. <li id="cpython-language-and-version">
  130. <a href="../index.html">3.12.0 Documentation</a> &#187;
  131. </li>
  132. <li class="nav-item nav-item-this"><a href="">What’s New in Python</a></li>
  133. <li class="right">
  134. <div class="inline-search" role="search">
  135. <form class="inline-search" action="../search.html" method="get">
  136. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" />
  137. <input type="submit" value="Go" />
  138. </form>
  139. </div>
  140. |
  141. </li>
  142. <li class="right">
  143. <label class="theme-selector-label">
  144. Theme
  145. <select class="theme-selector" oninput="activateTheme(this.value)">
  146. <option value="auto" selected>Auto</option>
  147. <option value="light">Light</option>
  148. <option value="dark">Dark</option>
  149. </select>
  150. </label> |</li>
  151. </ul>
  152. </div>
  153. <div class="document">
  154. <div class="documentwrapper">
  155. <div class="bodywrapper">
  156. <div class="body" role="main">
  157. <section id="what-s-new-in-python">
  158. <span id="whatsnew-index"></span><h1>What’s New in Python<a class="headerlink" href="#what-s-new-in-python" title="Permalink to this headline">¶</a></h1>
  159. <p>The “What’s New in Python” series of essays takes tours through the most
  160. important changes between major Python versions. They are a “must read” for
  161. anyone wishing to stay up-to-date after a new release.</p>
  162. <div class="toctree-wrapper compound">
  163. <ul>
  164. <li class="toctree-l1"><a class="reference internal" href="3.12.html">What’s New In Python 3.12</a><ul>
  165. <li class="toctree-l2"><a class="reference internal" href="3.12.html#summary-release-highlights">Summary – Release highlights</a></li>
  166. <li class="toctree-l2"><a class="reference internal" href="3.12.html#new-features">New Features</a></li>
  167. <li class="toctree-l2"><a class="reference internal" href="3.12.html#new-features-related-to-type-hints">New Features Related to Type Hints</a></li>
  168. <li class="toctree-l2"><a class="reference internal" href="3.12.html#other-language-changes">Other Language Changes</a></li>
  169. <li class="toctree-l2"><a class="reference internal" href="3.12.html#new-modules">New Modules</a></li>
  170. <li class="toctree-l2"><a class="reference internal" href="3.12.html#improved-modules">Improved Modules</a></li>
  171. <li class="toctree-l2"><a class="reference internal" href="3.12.html#optimizations">Optimizations</a></li>
  172. <li class="toctree-l2"><a class="reference internal" href="3.12.html#cpython-bytecode-changes">CPython bytecode changes</a></li>
  173. <li class="toctree-l2"><a class="reference internal" href="3.12.html#demos-and-tools">Demos and Tools</a></li>
  174. <li class="toctree-l2"><a class="reference internal" href="3.12.html#deprecated">Deprecated</a></li>
  175. <li class="toctree-l2"><a class="reference internal" href="3.12.html#removed">Removed</a></li>
  176. <li class="toctree-l2"><a class="reference internal" href="3.12.html#porting-to-python-3-12">Porting to Python 3.12</a></li>
  177. <li class="toctree-l2"><a class="reference internal" href="3.12.html#build-changes">Build Changes</a></li>
  178. <li class="toctree-l2"><a class="reference internal" href="3.12.html#c-api-changes">C API Changes</a></li>
  179. </ul>
  180. </li>
  181. <li class="toctree-l1"><a class="reference internal" href="3.11.html">What’s New In Python 3.11</a><ul>
  182. <li class="toctree-l2"><a class="reference internal" href="3.11.html#summary-release-highlights">Summary – Release highlights</a></li>
  183. <li class="toctree-l2"><a class="reference internal" href="3.11.html#new-features">New Features</a></li>
  184. <li class="toctree-l2"><a class="reference internal" href="3.11.html#new-features-related-to-type-hints">New Features Related to Type Hints</a></li>
  185. <li class="toctree-l2"><a class="reference internal" href="3.11.html#other-language-changes">Other Language Changes</a></li>
  186. <li class="toctree-l2"><a class="reference internal" href="3.11.html#other-cpython-implementation-changes">Other CPython Implementation Changes</a></li>
  187. <li class="toctree-l2"><a class="reference internal" href="3.11.html#new-modules">New Modules</a></li>
  188. <li class="toctree-l2"><a class="reference internal" href="3.11.html#improved-modules">Improved Modules</a></li>
  189. <li class="toctree-l2"><a class="reference internal" href="3.11.html#optimizations">Optimizations</a></li>
  190. <li class="toctree-l2"><a class="reference internal" href="3.11.html#faster-cpython">Faster CPython</a></li>
  191. <li class="toctree-l2"><a class="reference internal" href="3.11.html#cpython-bytecode-changes">CPython bytecode changes</a></li>
  192. <li class="toctree-l2"><a class="reference internal" href="3.11.html#deprecated">Deprecated</a></li>
  193. <li class="toctree-l2"><a class="reference internal" href="3.11.html#pending-removal-in-python-3-12">Pending Removal in Python 3.12</a></li>
  194. <li class="toctree-l2"><a class="reference internal" href="3.11.html#removed">Removed</a></li>
  195. <li class="toctree-l2"><a class="reference internal" href="3.11.html#porting-to-python-3-11">Porting to Python 3.11</a></li>
  196. <li class="toctree-l2"><a class="reference internal" href="3.11.html#build-changes">Build Changes</a></li>
  197. <li class="toctree-l2"><a class="reference internal" href="3.11.html#c-api-changes">C API Changes</a></li>
  198. </ul>
  199. </li>
  200. <li class="toctree-l1"><a class="reference internal" href="3.10.html">What’s New In Python 3.10</a><ul>
  201. <li class="toctree-l2"><a class="reference internal" href="3.10.html#summary-release-highlights">Summary – Release highlights</a></li>
  202. <li class="toctree-l2"><a class="reference internal" href="3.10.html#new-features">New Features</a></li>
  203. <li class="toctree-l2"><a class="reference internal" href="3.10.html#new-features-related-to-type-hints">New Features Related to Type Hints</a></li>
  204. <li class="toctree-l2"><a class="reference internal" href="3.10.html#other-language-changes">Other Language Changes</a></li>
  205. <li class="toctree-l2"><a class="reference internal" href="3.10.html#new-modules">New Modules</a></li>
  206. <li class="toctree-l2"><a class="reference internal" href="3.10.html#improved-modules">Improved Modules</a></li>
  207. <li class="toctree-l2"><a class="reference internal" href="3.10.html#optimizations">Optimizations</a></li>
  208. <li class="toctree-l2"><a class="reference internal" href="3.10.html#deprecated">Deprecated</a></li>
  209. <li class="toctree-l2"><a class="reference internal" href="3.10.html#removed">Removed</a></li>
  210. <li class="toctree-l2"><a class="reference internal" href="3.10.html#porting-to-python-3-10">Porting to Python 3.10</a></li>
  211. <li class="toctree-l2"><a class="reference internal" href="3.10.html#cpython-bytecode-changes">CPython bytecode changes</a></li>
  212. <li class="toctree-l2"><a class="reference internal" href="3.10.html#build-changes">Build Changes</a></li>
  213. <li class="toctree-l2"><a class="reference internal" href="3.10.html#c-api-changes">C API Changes</a></li>
  214. </ul>
  215. </li>
  216. <li class="toctree-l1"><a class="reference internal" href="3.9.html">What’s New In Python 3.9</a><ul>
  217. <li class="toctree-l2"><a class="reference internal" href="3.9.html#summary-release-highlights">Summary – Release highlights</a></li>
  218. <li class="toctree-l2"><a class="reference internal" href="3.9.html#you-should-check-for-deprecationwarning-in-your-code">You should check for DeprecationWarning in your code</a></li>
  219. <li class="toctree-l2"><a class="reference internal" href="3.9.html#new-features">New Features</a></li>
  220. <li class="toctree-l2"><a class="reference internal" href="3.9.html#other-language-changes">Other Language Changes</a></li>
  221. <li class="toctree-l2"><a class="reference internal" href="3.9.html#new-modules">New Modules</a></li>
  222. <li class="toctree-l2"><a class="reference internal" href="3.9.html#improved-modules">Improved Modules</a></li>
  223. <li class="toctree-l2"><a class="reference internal" href="3.9.html#optimizations">Optimizations</a></li>
  224. <li class="toctree-l2"><a class="reference internal" href="3.9.html#deprecated">Deprecated</a></li>
  225. <li class="toctree-l2"><a class="reference internal" href="3.9.html#removed">Removed</a></li>
  226. <li class="toctree-l2"><a class="reference internal" href="3.9.html#porting-to-python-3-9">Porting to Python 3.9</a></li>
  227. <li class="toctree-l2"><a class="reference internal" href="3.9.html#build-changes">Build Changes</a></li>
  228. <li class="toctree-l2"><a class="reference internal" href="3.9.html#c-api-changes">C API Changes</a></li>
  229. <li class="toctree-l2"><a class="reference internal" href="3.9.html#notable-changes-in-python-3-9-1">Notable changes in Python 3.9.1</a></li>
  230. <li class="toctree-l2"><a class="reference internal" href="3.9.html#notable-changes-in-python-3-9-2">Notable changes in Python 3.9.2</a></li>
  231. </ul>
  232. </li>
  233. <li class="toctree-l1"><a class="reference internal" href="3.8.html">What’s New In Python 3.8</a><ul>
  234. <li class="toctree-l2"><a class="reference internal" href="3.8.html#summary-release-highlights">Summary – Release highlights</a></li>
  235. <li class="toctree-l2"><a class="reference internal" href="3.8.html#new-features">New Features</a></li>
  236. <li class="toctree-l2"><a class="reference internal" href="3.8.html#other-language-changes">Other Language Changes</a></li>
  237. <li class="toctree-l2"><a class="reference internal" href="3.8.html#new-modules">New Modules</a></li>
  238. <li class="toctree-l2"><a class="reference internal" href="3.8.html#improved-modules">Improved Modules</a></li>
  239. <li class="toctree-l2"><a class="reference internal" href="3.8.html#optimizations">Optimizations</a></li>
  240. <li class="toctree-l2"><a class="reference internal" href="3.8.html#build-and-c-api-changes">Build and C API Changes</a></li>
  241. <li class="toctree-l2"><a class="reference internal" href="3.8.html#deprecated">Deprecated</a></li>
  242. <li class="toctree-l2"><a class="reference internal" href="3.8.html#api-and-feature-removals">API and Feature Removals</a></li>
  243. <li class="toctree-l2"><a class="reference internal" href="3.8.html#porting-to-python-3-8">Porting to Python 3.8</a></li>
  244. <li class="toctree-l2"><a class="reference internal" href="3.8.html#notable-changes-in-python-3-8-1">Notable changes in Python 3.8.1</a></li>
  245. <li class="toctree-l2"><a class="reference internal" href="3.8.html#notable-changes-in-python-3-8-8">Notable changes in Python 3.8.8</a></li>
  246. <li class="toctree-l2"><a class="reference internal" href="3.8.html#notable-changes-in-python-3-8-12">Notable changes in Python 3.8.12</a></li>
  247. </ul>
  248. </li>
  249. <li class="toctree-l1"><a class="reference internal" href="3.7.html">What’s New In Python 3.7</a><ul>
  250. <li class="toctree-l2"><a class="reference internal" href="3.7.html#summary-release-highlights">Summary – Release Highlights</a></li>
  251. <li class="toctree-l2"><a class="reference internal" href="3.7.html#new-features">New Features</a></li>
  252. <li class="toctree-l2"><a class="reference internal" href="3.7.html#other-language-changes">Other Language Changes</a></li>
  253. <li class="toctree-l2"><a class="reference internal" href="3.7.html#new-modules">New Modules</a></li>
  254. <li class="toctree-l2"><a class="reference internal" href="3.7.html#improved-modules">Improved Modules</a></li>
  255. <li class="toctree-l2"><a class="reference internal" href="3.7.html#c-api-changes">C API Changes</a></li>
  256. <li class="toctree-l2"><a class="reference internal" href="3.7.html#build-changes">Build Changes</a></li>
  257. <li class="toctree-l2"><a class="reference internal" href="3.7.html#optimizations">Optimizations</a></li>
  258. <li class="toctree-l2"><a class="reference internal" href="3.7.html#other-cpython-implementation-changes">Other CPython Implementation Changes</a></li>
  259. <li class="toctree-l2"><a class="reference internal" href="3.7.html#deprecated-python-behavior">Deprecated Python Behavior</a></li>
  260. <li class="toctree-l2"><a class="reference internal" href="3.7.html#deprecated-python-modules-functions-and-methods">Deprecated Python modules, functions and methods</a></li>
  261. <li class="toctree-l2"><a class="reference internal" href="3.7.html#deprecated-functions-and-types-of-the-c-api">Deprecated functions and types of the C API</a></li>
  262. <li class="toctree-l2"><a class="reference internal" href="3.7.html#platform-support-removals">Platform Support Removals</a></li>
  263. <li class="toctree-l2"><a class="reference internal" href="3.7.html#api-and-feature-removals">API and Feature Removals</a></li>
  264. <li class="toctree-l2"><a class="reference internal" href="3.7.html#module-removals">Module Removals</a></li>
  265. <li class="toctree-l2"><a class="reference internal" href="3.7.html#windows-only-changes">Windows-only Changes</a></li>
  266. <li class="toctree-l2"><a class="reference internal" href="3.7.html#porting-to-python-3-7">Porting to Python 3.7</a></li>
  267. <li class="toctree-l2"><a class="reference internal" href="3.7.html#notable-changes-in-python-3-7-1">Notable changes in Python 3.7.1</a></li>
  268. <li class="toctree-l2"><a class="reference internal" href="3.7.html#notable-changes-in-python-3-7-2">Notable changes in Python 3.7.2</a></li>
  269. <li class="toctree-l2"><a class="reference internal" href="3.7.html#notable-changes-in-python-3-7-6">Notable changes in Python 3.7.6</a></li>
  270. <li class="toctree-l2"><a class="reference internal" href="3.7.html#notable-changes-in-python-3-7-10">Notable changes in Python 3.7.10</a></li>
  271. </ul>
  272. </li>
  273. <li class="toctree-l1"><a class="reference internal" href="3.6.html">What’s New In Python 3.6</a><ul>
  274. <li class="toctree-l2"><a class="reference internal" href="3.6.html#summary-release-highlights">Summary – Release highlights</a></li>
  275. <li class="toctree-l2"><a class="reference internal" href="3.6.html#new-features">New Features</a></li>
  276. <li class="toctree-l2"><a class="reference internal" href="3.6.html#other-language-changes">Other Language Changes</a></li>
  277. <li class="toctree-l2"><a class="reference internal" href="3.6.html#new-modules">New Modules</a></li>
  278. <li class="toctree-l2"><a class="reference internal" href="3.6.html#improved-modules">Improved Modules</a></li>
  279. <li class="toctree-l2"><a class="reference internal" href="3.6.html#optimizations">Optimizations</a></li>
  280. <li class="toctree-l2"><a class="reference internal" href="3.6.html#build-and-c-api-changes">Build and C API Changes</a></li>
  281. <li class="toctree-l2"><a class="reference internal" href="3.6.html#other-improvements">Other Improvements</a></li>
  282. <li class="toctree-l2"><a class="reference internal" href="3.6.html#deprecated">Deprecated</a></li>
  283. <li class="toctree-l2"><a class="reference internal" href="3.6.html#removed">Removed</a></li>
  284. <li class="toctree-l2"><a class="reference internal" href="3.6.html#porting-to-python-3-6">Porting to Python 3.6</a></li>
  285. <li class="toctree-l2"><a class="reference internal" href="3.6.html#notable-changes-in-python-3-6-2">Notable changes in Python 3.6.2</a></li>
  286. <li class="toctree-l2"><a class="reference internal" href="3.6.html#notable-changes-in-python-3-6-4">Notable changes in Python 3.6.4</a></li>
  287. <li class="toctree-l2"><a class="reference internal" href="3.6.html#notable-changes-in-python-3-6-5">Notable changes in Python 3.6.5</a></li>
  288. <li class="toctree-l2"><a class="reference internal" href="3.6.html#notable-changes-in-python-3-6-7">Notable changes in Python 3.6.7</a></li>
  289. <li class="toctree-l2"><a class="reference internal" href="3.6.html#notable-changes-in-python-3-6-10">Notable changes in Python 3.6.10</a></li>
  290. <li class="toctree-l2"><a class="reference internal" href="3.6.html#notable-changes-in-python-3-6-13">Notable changes in Python 3.6.13</a></li>
  291. </ul>
  292. </li>
  293. <li class="toctree-l1"><a class="reference internal" href="3.5.html">What’s New In Python 3.5</a><ul>
  294. <li class="toctree-l2"><a class="reference internal" href="3.5.html#summary-release-highlights">Summary – Release highlights</a></li>
  295. <li class="toctree-l2"><a class="reference internal" href="3.5.html#new-features">New Features</a></li>
  296. <li class="toctree-l2"><a class="reference internal" href="3.5.html#other-language-changes">Other Language Changes</a></li>
  297. <li class="toctree-l2"><a class="reference internal" href="3.5.html#new-modules">New Modules</a></li>
  298. <li class="toctree-l2"><a class="reference internal" href="3.5.html#improved-modules">Improved Modules</a></li>
  299. <li class="toctree-l2"><a class="reference internal" href="3.5.html#other-module-level-changes">Other module-level changes</a></li>
  300. <li class="toctree-l2"><a class="reference internal" href="3.5.html#optimizations">Optimizations</a></li>
  301. <li class="toctree-l2"><a class="reference internal" href="3.5.html#build-and-c-api-changes">Build and C API Changes</a></li>
  302. <li class="toctree-l2"><a class="reference internal" href="3.5.html#deprecated">Deprecated</a></li>
  303. <li class="toctree-l2"><a class="reference internal" href="3.5.html#removed">Removed</a></li>
  304. <li class="toctree-l2"><a class="reference internal" href="3.5.html#porting-to-python-3-5">Porting to Python 3.5</a></li>
  305. <li class="toctree-l2"><a class="reference internal" href="3.5.html#notable-changes-in-python-3-5-4">Notable changes in Python 3.5.4</a></li>
  306. </ul>
  307. </li>
  308. <li class="toctree-l1"><a class="reference internal" href="3.4.html">What’s New In Python 3.4</a><ul>
  309. <li class="toctree-l2"><a class="reference internal" href="3.4.html#summary-release-highlights">Summary – Release Highlights</a></li>
  310. <li class="toctree-l2"><a class="reference internal" href="3.4.html#new-features">New Features</a></li>
  311. <li class="toctree-l2"><a class="reference internal" href="3.4.html#new-modules">New Modules</a></li>
  312. <li class="toctree-l2"><a class="reference internal" href="3.4.html#improved-modules">Improved Modules</a></li>
  313. <li class="toctree-l2"><a class="reference internal" href="3.4.html#cpython-implementation-changes">CPython Implementation Changes</a></li>
  314. <li class="toctree-l2"><a class="reference internal" href="3.4.html#deprecated">Deprecated</a></li>
  315. <li class="toctree-l2"><a class="reference internal" href="3.4.html#removed">Removed</a></li>
  316. <li class="toctree-l2"><a class="reference internal" href="3.4.html#porting-to-python-3-4">Porting to Python 3.4</a></li>
  317. <li class="toctree-l2"><a class="reference internal" href="3.4.html#changed-in-3-4-3">Changed in 3.4.3</a></li>
  318. </ul>
  319. </li>
  320. <li class="toctree-l1"><a class="reference internal" href="3.3.html">What’s New In Python 3.3</a><ul>
  321. <li class="toctree-l2"><a class="reference internal" href="3.3.html#summary-release-highlights">Summary – Release highlights</a></li>
  322. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-405-virtual-environments">PEP 405: Virtual Environments</a></li>
  323. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-420-implicit-namespace-packages">PEP 420: Implicit Namespace Packages</a></li>
  324. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-3118-new-memoryview-implementation-and-buffer-protocol-documentation">PEP 3118: New memoryview implementation and buffer protocol documentation</a></li>
  325. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-393-flexible-string-representation">PEP 393: Flexible String Representation</a></li>
  326. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-397-python-launcher-for-windows">PEP 397: Python Launcher for Windows</a></li>
  327. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-3151-reworking-the-os-and-io-exception-hierarchy">PEP 3151: Reworking the OS and IO exception hierarchy</a></li>
  328. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-380-syntax-for-delegating-to-a-subgenerator">PEP 380: Syntax for Delegating to a Subgenerator</a></li>
  329. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-409-suppressing-exception-context">PEP 409: Suppressing exception context</a></li>
  330. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-414-explicit-unicode-literals">PEP 414: Explicit Unicode literals</a></li>
  331. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-3155-qualified-name-for-classes-and-functions">PEP 3155: Qualified name for classes and functions</a></li>
  332. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-412-key-sharing-dictionary">PEP 412: Key-Sharing Dictionary</a></li>
  333. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-362-function-signature-object">PEP 362: Function Signature Object</a></li>
  334. <li class="toctree-l2"><a class="reference internal" href="3.3.html#pep-421-adding-sys-implementation">PEP 421: Adding sys.implementation</a></li>
  335. <li class="toctree-l2"><a class="reference internal" href="3.3.html#using-importlib-as-the-implementation-of-import">Using importlib as the Implementation of Import</a></li>
  336. <li class="toctree-l2"><a class="reference internal" href="3.3.html#other-language-changes">Other Language Changes</a></li>
  337. <li class="toctree-l2"><a class="reference internal" href="3.3.html#a-finer-grained-import-lock">A Finer-Grained Import Lock</a></li>
  338. <li class="toctree-l2"><a class="reference internal" href="3.3.html#builtin-functions-and-types">Builtin functions and types</a></li>
  339. <li class="toctree-l2"><a class="reference internal" href="3.3.html#new-modules">New Modules</a></li>
  340. <li class="toctree-l2"><a class="reference internal" href="3.3.html#improved-modules">Improved Modules</a></li>
  341. <li class="toctree-l2"><a class="reference internal" href="3.3.html#optimizations">Optimizations</a></li>
  342. <li class="toctree-l2"><a class="reference internal" href="3.3.html#build-and-c-api-changes">Build and C API Changes</a></li>
  343. <li class="toctree-l2"><a class="reference internal" href="3.3.html#deprecated">Deprecated</a></li>
  344. <li class="toctree-l2"><a class="reference internal" href="3.3.html#porting-to-python-3-3">Porting to Python 3.3</a></li>
  345. </ul>
  346. </li>
  347. <li class="toctree-l1"><a class="reference internal" href="3.2.html">What’s New In Python 3.2</a><ul>
  348. <li class="toctree-l2"><a class="reference internal" href="3.2.html#pep-384-defining-a-stable-abi">PEP 384: Defining a Stable ABI</a></li>
  349. <li class="toctree-l2"><a class="reference internal" href="3.2.html#pep-389-argparse-command-line-parsing-module">PEP 389: Argparse Command Line Parsing Module</a></li>
  350. <li class="toctree-l2"><a class="reference internal" href="3.2.html#pep-391-dictionary-based-configuration-for-logging">PEP 391: Dictionary Based Configuration for Logging</a></li>
  351. <li class="toctree-l2"><a class="reference internal" href="3.2.html#pep-3148-the-concurrent-futures-module">PEP 3148: The <code class="docutils literal notranslate"><span class="pre">concurrent.futures</span></code> module</a></li>
  352. <li class="toctree-l2"><a class="reference internal" href="3.2.html#pep-3147-pyc-repository-directories">PEP 3147: PYC Repository Directories</a></li>
  353. <li class="toctree-l2"><a class="reference internal" href="3.2.html#pep-3149-abi-version-tagged-so-files">PEP 3149: ABI Version Tagged .so Files</a></li>
  354. <li class="toctree-l2"><a class="reference internal" href="3.2.html#pep-3333-python-web-server-gateway-interface-v1-0-1">PEP 3333: Python Web Server Gateway Interface v1.0.1</a></li>
  355. <li class="toctree-l2"><a class="reference internal" href="3.2.html#other-language-changes">Other Language Changes</a></li>
  356. <li class="toctree-l2"><a class="reference internal" href="3.2.html#new-improved-and-deprecated-modules">New, Improved, and Deprecated Modules</a></li>
  357. <li class="toctree-l2"><a class="reference internal" href="3.2.html#multi-threading">Multi-threading</a></li>
  358. <li class="toctree-l2"><a class="reference internal" href="3.2.html#optimizations">Optimizations</a></li>
  359. <li class="toctree-l2"><a class="reference internal" href="3.2.html#unicode">Unicode</a></li>
  360. <li class="toctree-l2"><a class="reference internal" href="3.2.html#codecs">Codecs</a></li>
  361. <li class="toctree-l2"><a class="reference internal" href="3.2.html#documentation">Documentation</a></li>
  362. <li class="toctree-l2"><a class="reference internal" href="3.2.html#idle">IDLE</a></li>
  363. <li class="toctree-l2"><a class="reference internal" href="3.2.html#code-repository">Code Repository</a></li>
  364. <li class="toctree-l2"><a class="reference internal" href="3.2.html#build-and-c-api-changes">Build and C API Changes</a></li>
  365. <li class="toctree-l2"><a class="reference internal" href="3.2.html#porting-to-python-3-2">Porting to Python 3.2</a></li>
  366. </ul>
  367. </li>
  368. <li class="toctree-l1"><a class="reference internal" href="3.1.html">What’s New In Python 3.1</a><ul>
  369. <li class="toctree-l2"><a class="reference internal" href="3.1.html#pep-372-ordered-dictionaries">PEP 372: Ordered Dictionaries</a></li>
  370. <li class="toctree-l2"><a class="reference internal" href="3.1.html#pep-378-format-specifier-for-thousands-separator">PEP 378: Format Specifier for Thousands Separator</a></li>
  371. <li class="toctree-l2"><a class="reference internal" href="3.1.html#other-language-changes">Other Language Changes</a></li>
  372. <li class="toctree-l2"><a class="reference internal" href="3.1.html#new-improved-and-deprecated-modules">New, Improved, and Deprecated Modules</a></li>
  373. <li class="toctree-l2"><a class="reference internal" href="3.1.html#optimizations">Optimizations</a></li>
  374. <li class="toctree-l2"><a class="reference internal" href="3.1.html#idle">IDLE</a></li>
  375. <li class="toctree-l2"><a class="reference internal" href="3.1.html#build-and-c-api-changes">Build and C API Changes</a></li>
  376. <li class="toctree-l2"><a class="reference internal" href="3.1.html#porting-to-python-3-1">Porting to Python 3.1</a></li>
  377. </ul>
  378. </li>
  379. <li class="toctree-l1"><a class="reference internal" href="3.0.html">What’s New In Python 3.0</a><ul>
  380. <li class="toctree-l2"><a class="reference internal" href="3.0.html#common-stumbling-blocks">Common Stumbling Blocks</a></li>
  381. <li class="toctree-l2"><a class="reference internal" href="3.0.html#overview-of-syntax-changes">Overview Of Syntax Changes</a></li>
  382. <li class="toctree-l2"><a class="reference internal" href="3.0.html#changes-already-present-in-python-2-6">Changes Already Present In Python 2.6</a></li>
  383. <li class="toctree-l2"><a class="reference internal" href="3.0.html#library-changes">Library Changes</a></li>
  384. <li class="toctree-l2"><a class="reference internal" href="3.0.html#pep-3101-a-new-approach-to-string-formatting"><strong>PEP 3101</strong>: A New Approach To String Formatting</a></li>
  385. <li class="toctree-l2"><a class="reference internal" href="3.0.html#changes-to-exceptions">Changes To Exceptions</a></li>
  386. <li class="toctree-l2"><a class="reference internal" href="3.0.html#miscellaneous-other-changes">Miscellaneous Other Changes</a></li>
  387. <li class="toctree-l2"><a class="reference internal" href="3.0.html#build-and-c-api-changes">Build and C API Changes</a></li>
  388. <li class="toctree-l2"><a class="reference internal" href="3.0.html#performance">Performance</a></li>
  389. <li class="toctree-l2"><a class="reference internal" href="3.0.html#porting-to-python-3-0">Porting To Python 3.0</a></li>
  390. </ul>
  391. </li>
  392. <li class="toctree-l1"><a class="reference internal" href="2.7.html">What’s New in Python 2.7</a><ul>
  393. <li class="toctree-l2"><a class="reference internal" href="2.7.html#the-future-for-python-2-x">The Future for Python 2.x</a></li>
  394. <li class="toctree-l2"><a class="reference internal" href="2.7.html#changes-to-the-handling-of-deprecation-warnings">Changes to the Handling of Deprecation Warnings</a></li>
  395. <li class="toctree-l2"><a class="reference internal" href="2.7.html#python-3-1-features">Python 3.1 Features</a></li>
  396. <li class="toctree-l2"><a class="reference internal" href="2.7.html#pep-372-adding-an-ordered-dictionary-to-collections">PEP 372: Adding an Ordered Dictionary to collections</a></li>
  397. <li class="toctree-l2"><a class="reference internal" href="2.7.html#pep-378-format-specifier-for-thousands-separator">PEP 378: Format Specifier for Thousands Separator</a></li>
  398. <li class="toctree-l2"><a class="reference internal" href="2.7.html#pep-389-the-argparse-module-for-parsing-command-lines">PEP 389: The argparse Module for Parsing Command Lines</a></li>
  399. <li class="toctree-l2"><a class="reference internal" href="2.7.html#pep-391-dictionary-based-configuration-for-logging">PEP 391: Dictionary-Based Configuration For Logging</a></li>
  400. <li class="toctree-l2"><a class="reference internal" href="2.7.html#pep-3106-dictionary-views">PEP 3106: Dictionary Views</a></li>
  401. <li class="toctree-l2"><a class="reference internal" href="2.7.html#pep-3137-the-memoryview-object">PEP 3137: The memoryview Object</a></li>
  402. <li class="toctree-l2"><a class="reference internal" href="2.7.html#other-language-changes">Other Language Changes</a></li>
  403. <li class="toctree-l2"><a class="reference internal" href="2.7.html#new-and-improved-modules">New and Improved Modules</a></li>
  404. <li class="toctree-l2"><a class="reference internal" href="2.7.html#build-and-c-api-changes">Build and C API Changes</a></li>
  405. <li class="toctree-l2"><a class="reference internal" href="2.7.html#other-changes-and-fixes">Other Changes and Fixes</a></li>
  406. <li class="toctree-l2"><a class="reference internal" href="2.7.html#porting-to-python-2-7">Porting to Python 2.7</a></li>
  407. <li class="toctree-l2"><a class="reference internal" href="2.7.html#new-features-added-to-python-2-7-maintenance-releases">New Features Added to Python 2.7 Maintenance Releases</a></li>
  408. <li class="toctree-l2"><a class="reference internal" href="2.7.html#acknowledgements">Acknowledgements</a></li>
  409. </ul>
  410. </li>
  411. <li class="toctree-l1"><a class="reference internal" href="2.6.html">What’s New in Python 2.6</a><ul>
  412. <li class="toctree-l2"><a class="reference internal" href="2.6.html#python-3-0">Python 3.0</a></li>
  413. <li class="toctree-l2"><a class="reference internal" href="2.6.html#changes-to-the-development-process">Changes to the Development Process</a></li>
  414. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-343-the-with-statement">PEP 343: The ‘with’ statement</a></li>
  415. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-366-explicit-relative-imports-from-a-main-module">PEP 366: Explicit Relative Imports From a Main Module</a></li>
  416. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-370-per-user-site-packages-directory">PEP 370: Per-user <code class="docutils literal notranslate"><span class="pre">site-packages</span></code> Directory</a></li>
  417. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-371-the-multiprocessing-package">PEP 371: The <code class="docutils literal notranslate"><span class="pre">multiprocessing</span></code> Package</a></li>
  418. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3101-advanced-string-formatting">PEP 3101: Advanced String Formatting</a></li>
  419. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3105-print-as-a-function">PEP 3105: <code class="docutils literal notranslate"><span class="pre">print</span></code> As a Function</a></li>
  420. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3110-exception-handling-changes">PEP 3110: Exception-Handling Changes</a></li>
  421. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3112-byte-literals">PEP 3112: Byte Literals</a></li>
  422. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3116-new-i-o-library">PEP 3116: New I/O Library</a></li>
  423. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3118-revised-buffer-protocol">PEP 3118: Revised Buffer Protocol</a></li>
  424. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3119-abstract-base-classes">PEP 3119: Abstract Base Classes</a></li>
  425. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3127-integer-literal-support-and-syntax">PEP 3127: Integer Literal Support and Syntax</a></li>
  426. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3129-class-decorators">PEP 3129: Class Decorators</a></li>
  427. <li class="toctree-l2"><a class="reference internal" href="2.6.html#pep-3141-a-type-hierarchy-for-numbers">PEP 3141: A Type Hierarchy for Numbers</a></li>
  428. <li class="toctree-l2"><a class="reference internal" href="2.6.html#other-language-changes">Other Language Changes</a></li>
  429. <li class="toctree-l2"><a class="reference internal" href="2.6.html#new-and-improved-modules">New and Improved Modules</a></li>
  430. <li class="toctree-l2"><a class="reference internal" href="2.6.html#deprecations-and-removals">Deprecations and Removals</a></li>
  431. <li class="toctree-l2"><a class="reference internal" href="2.6.html#build-and-c-api-changes">Build and C API Changes</a></li>
  432. <li class="toctree-l2"><a class="reference internal" href="2.6.html#porting-to-python-2-6">Porting to Python 2.6</a></li>
  433. <li class="toctree-l2"><a class="reference internal" href="2.6.html#acknowledgements">Acknowledgements</a></li>
  434. </ul>
  435. </li>
  436. <li class="toctree-l1"><a class="reference internal" href="2.5.html">What’s New in Python 2.5</a><ul>
  437. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-308-conditional-expressions">PEP 308: Conditional Expressions</a></li>
  438. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-309-partial-function-application">PEP 309: Partial Function Application</a></li>
  439. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-314-metadata-for-python-software-packages-v1-1">PEP 314: Metadata for Python Software Packages v1.1</a></li>
  440. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-328-absolute-and-relative-imports">PEP 328: Absolute and Relative Imports</a></li>
  441. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-338-executing-modules-as-scripts">PEP 338: Executing Modules as Scripts</a></li>
  442. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-341-unified-try-except-finally">PEP 341: Unified try/except/finally</a></li>
  443. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-342-new-generator-features">PEP 342: New Generator Features</a></li>
  444. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-343-the-with-statement">PEP 343: The ‘with’ statement</a></li>
  445. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-352-exceptions-as-new-style-classes">PEP 352: Exceptions as New-Style Classes</a></li>
  446. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-353-using-ssize-t-as-the-index-type">PEP 353: Using ssize_t as the index type</a></li>
  447. <li class="toctree-l2"><a class="reference internal" href="2.5.html#pep-357-the-index-method">PEP 357: The ‘__index__’ method</a></li>
  448. <li class="toctree-l2"><a class="reference internal" href="2.5.html#other-language-changes">Other Language Changes</a></li>
  449. <li class="toctree-l2"><a class="reference internal" href="2.5.html#new-improved-and-removed-modules">New, Improved, and Removed Modules</a></li>
  450. <li class="toctree-l2"><a class="reference internal" href="2.5.html#build-and-c-api-changes">Build and C API Changes</a></li>
  451. <li class="toctree-l2"><a class="reference internal" href="2.5.html#porting-to-python-2-5">Porting to Python 2.5</a></li>
  452. <li class="toctree-l2"><a class="reference internal" href="2.5.html#acknowledgements">Acknowledgements</a></li>
  453. </ul>
  454. </li>
  455. <li class="toctree-l1"><a class="reference internal" href="2.4.html">What’s New in Python 2.4</a><ul>
  456. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-218-built-in-set-objects">PEP 218: Built-In Set Objects</a></li>
  457. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-237-unifying-long-integers-and-integers">PEP 237: Unifying Long Integers and Integers</a></li>
  458. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-289-generator-expressions">PEP 289: Generator Expressions</a></li>
  459. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-292-simpler-string-substitutions">PEP 292: Simpler String Substitutions</a></li>
  460. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-318-decorators-for-functions-and-methods">PEP 318: Decorators for Functions and Methods</a></li>
  461. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-322-reverse-iteration">PEP 322: Reverse Iteration</a></li>
  462. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-324-new-subprocess-module">PEP 324: New subprocess Module</a></li>
  463. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-327-decimal-data-type">PEP 327: Decimal Data Type</a></li>
  464. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-328-multi-line-imports">PEP 328: Multi-line Imports</a></li>
  465. <li class="toctree-l2"><a class="reference internal" href="2.4.html#pep-331-locale-independent-float-string-conversions">PEP 331: Locale-Independent Float/String Conversions</a></li>
  466. <li class="toctree-l2"><a class="reference internal" href="2.4.html#other-language-changes">Other Language Changes</a></li>
  467. <li class="toctree-l2"><a class="reference internal" href="2.4.html#new-improved-and-deprecated-modules">New, Improved, and Deprecated Modules</a></li>
  468. <li class="toctree-l2"><a class="reference internal" href="2.4.html#build-and-c-api-changes">Build and C API Changes</a></li>
  469. <li class="toctree-l2"><a class="reference internal" href="2.4.html#porting-to-python-2-4">Porting to Python 2.4</a></li>
  470. <li class="toctree-l2"><a class="reference internal" href="2.4.html#acknowledgements">Acknowledgements</a></li>
  471. </ul>
  472. </li>
  473. <li class="toctree-l1"><a class="reference internal" href="2.3.html">What’s New in Python 2.3</a><ul>
  474. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-218-a-standard-set-datatype">PEP 218: A Standard Set Datatype</a></li>
  475. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-255-simple-generators">PEP 255: Simple Generators</a></li>
  476. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-263-source-code-encodings">PEP 263: Source Code Encodings</a></li>
  477. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-273-importing-modules-from-zip-archives">PEP 273: Importing Modules from ZIP Archives</a></li>
  478. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-277-unicode-file-name-support-for-windows-nt">PEP 277: Unicode file name support for Windows NT</a></li>
  479. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-278-universal-newline-support">PEP 278: Universal Newline Support</a></li>
  480. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-279-enumerate">PEP 279: enumerate()</a></li>
  481. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-282-the-logging-package">PEP 282: The logging Package</a></li>
  482. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-285-a-boolean-type">PEP 285: A Boolean Type</a></li>
  483. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-293-codec-error-handling-callbacks">PEP 293: Codec Error Handling Callbacks</a></li>
  484. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-301-package-index-and-metadata-for-distutils">PEP 301: Package Index and Metadata for Distutils</a></li>
  485. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-302-new-import-hooks">PEP 302: New Import Hooks</a></li>
  486. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-305-comma-separated-files">PEP 305: Comma-separated Files</a></li>
  487. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pep-307-pickle-enhancements">PEP 307: Pickle Enhancements</a></li>
  488. <li class="toctree-l2"><a class="reference internal" href="2.3.html#extended-slices">Extended Slices</a></li>
  489. <li class="toctree-l2"><a class="reference internal" href="2.3.html#other-language-changes">Other Language Changes</a></li>
  490. <li class="toctree-l2"><a class="reference internal" href="2.3.html#new-improved-and-deprecated-modules">New, Improved, and Deprecated Modules</a></li>
  491. <li class="toctree-l2"><a class="reference internal" href="2.3.html#pymalloc-a-specialized-object-allocator">Pymalloc: A Specialized Object Allocator</a></li>
  492. <li class="toctree-l2"><a class="reference internal" href="2.3.html#build-and-c-api-changes">Build and C API Changes</a></li>
  493. <li class="toctree-l2"><a class="reference internal" href="2.3.html#other-changes-and-fixes">Other Changes and Fixes</a></li>
  494. <li class="toctree-l2"><a class="reference internal" href="2.3.html#porting-to-python-2-3">Porting to Python 2.3</a></li>
  495. <li class="toctree-l2"><a class="reference internal" href="2.3.html#acknowledgements">Acknowledgements</a></li>
  496. </ul>
  497. </li>
  498. <li class="toctree-l1"><a class="reference internal" href="2.2.html">What’s New in Python 2.2</a><ul>
  499. <li class="toctree-l2"><a class="reference internal" href="2.2.html#introduction">Introduction</a></li>
  500. <li class="toctree-l2"><a class="reference internal" href="2.2.html#peps-252-and-253-type-and-class-changes">PEPs 252 and 253: Type and Class Changes</a></li>
  501. <li class="toctree-l2"><a class="reference internal" href="2.2.html#pep-234-iterators">PEP 234: Iterators</a></li>
  502. <li class="toctree-l2"><a class="reference internal" href="2.2.html#pep-255-simple-generators">PEP 255: Simple Generators</a></li>
  503. <li class="toctree-l2"><a class="reference internal" href="2.2.html#pep-237-unifying-long-integers-and-integers">PEP 237: Unifying Long Integers and Integers</a></li>
  504. <li class="toctree-l2"><a class="reference internal" href="2.2.html#pep-238-changing-the-division-operator">PEP 238: Changing the Division Operator</a></li>
  505. <li class="toctree-l2"><a class="reference internal" href="2.2.html#unicode-changes">Unicode Changes</a></li>
  506. <li class="toctree-l2"><a class="reference internal" href="2.2.html#pep-227-nested-scopes">PEP 227: Nested Scopes</a></li>
  507. <li class="toctree-l2"><a class="reference internal" href="2.2.html#new-and-improved-modules">New and Improved Modules</a></li>
  508. <li class="toctree-l2"><a class="reference internal" href="2.2.html#interpreter-changes-and-fixes">Interpreter Changes and Fixes</a></li>
  509. <li class="toctree-l2"><a class="reference internal" href="2.2.html#other-changes-and-fixes">Other Changes and Fixes</a></li>
  510. <li class="toctree-l2"><a class="reference internal" href="2.2.html#acknowledgements">Acknowledgements</a></li>
  511. </ul>
  512. </li>
  513. <li class="toctree-l1"><a class="reference internal" href="2.1.html">What’s New in Python 2.1</a><ul>
  514. <li class="toctree-l2"><a class="reference internal" href="2.1.html#introduction">Introduction</a></li>
  515. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-227-nested-scopes">PEP 227: Nested Scopes</a></li>
  516. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-236-future-directives">PEP 236: __future__ Directives</a></li>
  517. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-207-rich-comparisons">PEP 207: Rich Comparisons</a></li>
  518. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-230-warning-framework">PEP 230: Warning Framework</a></li>
  519. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-229-new-build-system">PEP 229: New Build System</a></li>
  520. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-205-weak-references">PEP 205: Weak References</a></li>
  521. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-232-function-attributes">PEP 232: Function Attributes</a></li>
  522. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-235-importing-modules-on-case-insensitive-platforms">PEP 235: Importing Modules on Case-Insensitive Platforms</a></li>
  523. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-217-interactive-display-hook">PEP 217: Interactive Display Hook</a></li>
  524. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-208-new-coercion-model">PEP 208: New Coercion Model</a></li>
  525. <li class="toctree-l2"><a class="reference internal" href="2.1.html#pep-241-metadata-in-python-packages">PEP 241: Metadata in Python Packages</a></li>
  526. <li class="toctree-l2"><a class="reference internal" href="2.1.html#new-and-improved-modules">New and Improved Modules</a></li>
  527. <li class="toctree-l2"><a class="reference internal" href="2.1.html#other-changes-and-fixes">Other Changes and Fixes</a></li>
  528. <li class="toctree-l2"><a class="reference internal" href="2.1.html#acknowledgements">Acknowledgements</a></li>
  529. </ul>
  530. </li>
  531. <li class="toctree-l1"><a class="reference internal" href="2.0.html">What’s New in Python 2.0</a><ul>
  532. <li class="toctree-l2"><a class="reference internal" href="2.0.html#introduction">Introduction</a></li>
  533. <li class="toctree-l2"><a class="reference internal" href="2.0.html#what-about-python-1-6">What About Python 1.6?</a></li>
  534. <li class="toctree-l2"><a class="reference internal" href="2.0.html#new-development-process">New Development Process</a></li>
  535. <li class="toctree-l2"><a class="reference internal" href="2.0.html#unicode">Unicode</a></li>
  536. <li class="toctree-l2"><a class="reference internal" href="2.0.html#list-comprehensions">List Comprehensions</a></li>
  537. <li class="toctree-l2"><a class="reference internal" href="2.0.html#augmented-assignment">Augmented Assignment</a></li>
  538. <li class="toctree-l2"><a class="reference internal" href="2.0.html#string-methods">String Methods</a></li>
  539. <li class="toctree-l2"><a class="reference internal" href="2.0.html#garbage-collection-of-cycles">Garbage Collection of Cycles</a></li>
  540. <li class="toctree-l2"><a class="reference internal" href="2.0.html#other-core-changes">Other Core Changes</a></li>
  541. <li class="toctree-l2"><a class="reference internal" href="2.0.html#porting-to-2-0">Porting to 2.0</a></li>
  542. <li class="toctree-l2"><a class="reference internal" href="2.0.html#extending-embedding-changes">Extending/Embedding Changes</a></li>
  543. <li class="toctree-l2"><a class="reference internal" href="2.0.html#distutils-making-modules-easy-to-install">Distutils: Making Modules Easy to Install</a></li>
  544. <li class="toctree-l2"><a class="reference internal" href="2.0.html#xml-modules">XML Modules</a></li>
  545. <li class="toctree-l2"><a class="reference internal" href="2.0.html#module-changes">Module changes</a></li>
  546. <li class="toctree-l2"><a class="reference internal" href="2.0.html#new-modules">New modules</a></li>
  547. <li class="toctree-l2"><a class="reference internal" href="2.0.html#idle-improvements">IDLE Improvements</a></li>
  548. <li class="toctree-l2"><a class="reference internal" href="2.0.html#deleted-and-deprecated-modules">Deleted and Deprecated Modules</a></li>
  549. <li class="toctree-l2"><a class="reference internal" href="2.0.html#acknowledgements">Acknowledgements</a></li>
  550. </ul>
  551. </li>
  552. </ul>
  553. </div>
  554. <p>The “Changelog” is an HTML version of the <a class="reference external" href="https://pypi.org/project/blurb">file built</a> from the contents of the
  555. <a class="reference external" href="https://github.com/python/cpython/tree/3.12/Misc/NEWS.d">Misc/NEWS.d</a> directory tree, which contains <em>all</em> nontrivial changes
  556. to Python for the current version.</p>
  557. <div class="toctree-wrapper compound">
  558. <ul>
  559. <li class="toctree-l1"><a class="reference internal" href="changelog.html">Changelog</a></li>
  560. </ul>
  561. </div>
  562. </section>
  563. <div class="clearer"></div>
  564. </div>
  565. </div>
  566. </div>
  567. <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
  568. <div class="sphinxsidebarwrapper">
  569. <div>
  570. <h4>Previous topic</h4>
  571. <p class="topless"><a href="../contents.html"
  572. title="previous chapter">Python Documentation contents</a></p>
  573. </div>
  574. <div>
  575. <h4>Next topic</h4>
  576. <p class="topless"><a href="3.12.html"
  577. title="next chapter">What’s New In Python 3.12</a></p>
  578. </div>
  579. <div role="note" aria-label="source link">
  580. <h3>This Page</h3>
  581. <ul class="this-page-menu">
  582. <li><a href="../bugs.html">Report a Bug</a></li>
  583. <li>
  584. <a href="https://github.com/python/cpython/blob/main/Doc/whatsnew/index.rst"
  585. rel="nofollow">Show Source
  586. </a>
  587. </li>
  588. </ul>
  589. </div>
  590. </div>
  591. </div>
  592. <div class="clearer"></div>
  593. </div>
  594. <div class="related" role="navigation" aria-label="related navigation">
  595. <h3>Navigation</h3>
  596. <ul>
  597. <li class="right" style="margin-right: 10px">
  598. <a href="../genindex.html" title="General Index"
  599. >index</a></li>
  600. <li class="right" >
  601. <a href="../py-modindex.html" title="Python Module Index"
  602. >modules</a> |</li>
  603. <li class="right" >
  604. <a href="3.12.html" title="What’s New In Python 3.12"
  605. >next</a> |</li>
  606. <li class="right" >
  607. <a href="../contents.html" title="Python Documentation contents"
  608. >previous</a> |</li>
  609. <li><img src="../_static/py.svg" alt="python logo" style="vertical-align: middle; margin-top: -1px"/></li>
  610. <li><a href="https://www.python.org/">Python</a> &#187;</li>
  611. <li class="switchers">
  612. <div class="language_switcher_placeholder"></div>
  613. <div class="version_switcher_placeholder"></div>
  614. </li>
  615. <li>
  616. </li>
  617. <li id="cpython-language-and-version">
  618. <a href="../index.html">3.12.0 Documentation</a> &#187;
  619. </li>
  620. <li class="nav-item nav-item-this"><a href="">What’s New in Python</a></li>
  621. <li class="right">
  622. <div class="inline-search" role="search">
  623. <form class="inline-search" action="../search.html" method="get">
  624. <input placeholder="Quick search" aria-label="Quick search" type="search" name="q" />
  625. <input type="submit" value="Go" />
  626. </form>
  627. </div>
  628. |
  629. </li>
  630. <li class="right">
  631. <label class="theme-selector-label">
  632. Theme
  633. <select class="theme-selector" oninput="activateTheme(this.value)">
  634. <option value="auto" selected>Auto</option>
  635. <option value="light">Light</option>
  636. <option value="dark">Dark</option>
  637. </select>
  638. </label> |</li>
  639. </ul>
  640. </div>
  641. <div class="footer">
  642. &copy; <a href="../copyright.html">Copyright</a> 2001-2023, Python Software Foundation.
  643. <br />
  644. This page is licensed under the Python Software Foundation License Version 2.
  645. <br />
  646. Examples, recipes, and other code in the documentation are additionally licensed under the Zero Clause BSD License.
  647. <br />
  648. See <a href="/license.html">History and License</a> for more information.<br />
  649. <br />
  650. The Python Software Foundation is a non-profit corporation.
  651. <a href="https://www.python.org/psf/donations/">Please donate.</a>
  652. <br />
  653. <br />
  654. Last updated on Oct 02, 2023.
  655. <a href="/bugs.html">Found a bug</a>?
  656. <br />
  657. Created using <a href="https://www.sphinx-doc.org/">Sphinx</a> 4.5.0.
  658. </div>
  659. </body>
  660. </html>