tag:blogger.com,1999:blog-39415539074308991632026-02-18T23:01:58.549-05:00Python InsiderPython core development news and information.Doug Hellmannhttp://www.blogger.com/profile/01892352754222143463noreply@blogger.comBlogger305125tag:blogger.com,1999:blog-3941553907430899163.post-3077414669457477292026-02-17T02:30:00.001-05:002026-02-17T02:30:00.111-05:00Join the Python Security Response Team!<p>&nbsp;Thanks to the work of the Security Developer-in-Residence Seth Larson, the Python Security Response Team (PSRT) now has an approved <a href="https://peps.python.org/pep-0811/" rel="nofollow">public governance document</a> (PEP 811). Following the new governance structure the PSRT now <a href="https://devguide.python.org/developer-workflow/psrt/#members" rel="nofollow">publishes a public list of members</a>, has documented <a href="https://devguide.python.org/developer-workflow/psrt/#responsibilities-of-psrt-members" rel="nofollow">responsibilities for members</a> and <a href="https://devguide.python.org/developer-workflow/psrt/#responsibilities-of-psrt-admins" rel="nofollow">admins</a>, and a defined process for <a href="https://devguide.python.org/developer-workflow/psrt/#how-can-i-join-the-psrt" rel="nofollow">onboarding and offboarding members</a> to balance the needs of security and sustainability. The document also clarifies the relationship between the <a href="https://github.com/python/steering-council">Python Steering Council</a> and the PSRT.</p><div class="js-commit-preview commit-preview p-5 markdown-body "> <p>And this new onboarding process is already working! The PSF Infrastructure Engineer, Jacob Coffee, has just joined the PSRT as the first new non-"Release Manager" member since Seth joined the PSRT in 2023. We expect new members to join further bolstering the sustainability of security work for the Python programming language.</p> <p>Thanks to <a href="https://alpha-omega.dev" rel="nofollow">Alpha-Omega</a> for their support of Python ecosystem security by sponsoring Seth’s work as the Security Developer-in-Residence at the Python Software Foundation.</p> <div class="markdown-heading"><h3 class="heading-element"><strong>What is the Python Security Response Team?</strong></h3><a aria-label="Permalink: What is the Python Security Response Team?" class="anchor" href="https://gist.github.com/#what-is-the-python-security-response-team" id="user-content-what-is-the-python-security-response-team"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Security doesn't happen by accident: it's thanks to the work of volunteers and paid Python Software Foundation staff on the Python Security Response Team to triage and coordinate vulnerability reports and remediations keeping all Python users safe. Just last year the PSRT published 16 vulnerability advisories for CPython and pip, <em>the most in a single year to date!</em></p> <p>And the PSRT usually can’t do this work alone, PSRT coordinators are encouraged to involve maintainers and experts on the projects and submodules. By involving the experts directly in the remediation process ensures fixes adhere to existing API conventions and threat-models, are maintainable long-term, and have minimal impact on existing use-cases.</p> <p>Sometimes the PSRT even coordinates with other open source projects to avoid catching the Python ecosystem off-guard by publishing a vulnerability advisory that affects multiple other projects. The most recent example of this is PyPI’s <a href="https://blog.pypi.org/posts/2025-08-07-wheel-archive-confusion-attacks/" rel="nofollow">ZIP archive differential attack mitigation</a>.</p> <p>This work deserves <a href="https://devguide.python.org/developer-workflow/psrt/#members" rel="nofollow">recognition and celebration</a> just like contributions to source code and documentation. Seth and Jacob are developing further improvements to workflows involving “GitHub Security Advisories” to record the reporter, coordinator, and remediation developers and reviewers to CVE and OSV records to properly thank everyone involved in the otherwise private contribution to open source projects.</p> <div class="markdown-heading"><h3 class="heading-element"><strong>How can I join the Python Security Response Team?</strong></h3><a aria-label="Permalink: How can I join the Python Security Response Team?" class="anchor" href="https://gist.github.com/#how-can-i-join-the-python-security-response-team" id="user-content-how-can-i-join-the-python-security-response-team"><span aria-hidden="true" class="octicon octicon-link"></span></a></div> <p>Maybe you’ve read all this and are interested in directly helping the Python programming language be more secure! The process is <a href="https://devguide.python.org/developer-workflow/psrt/#how-can-i-join-the-psrt" rel="nofollow">similar to the Core Team nomination process</a>, you need an existing PSRT member to nominate you and for your nomination to receive at least ⅔ positive votes from existing PSRT members.</p> <p>You do not need to be a core developer, team member, or triager to be a member of the Python Security Response Team. Anyone with security expertise that is known and highly-trusted within the Python community and has time to volunteer or donate through their employer would make a good candidate for the PSRT. Please note that all PSRT team members <a href="https://devguide.python.org/developer-workflow/psrt/#responsibilities-of-psrt-members" rel="nofollow">have documented responsibilities</a> and are expected to contribute meaningfully to the remediation of vulnerabilities.</p> <p>Being a member of the PSRT is not required <a href="https://mail.python.org/archives/list/security-announce@python.org/" rel="nofollow">to be notified of vulnerabilities</a> and shouldn’t be to receive “early notification” of vulnerabilities affecting CPython and pip. The Python Software Foundation is a <a href="https://www.python.org/cve-numbering-authority/" rel="nofollow">CVE Numbering Authority</a> and publishes CVE and <a href="https://github.com/psf/advisory-database/">OSV</a> records with up-to-date information about vulnerabilities affecting CPython and pip.</p> </div>Seth Michael Larsonhttp://www.blogger.com/profile/16555309043643874359noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-69732781174397415372026-02-11T10:42:00.003-05:002026-02-11T10:45:49.588-05:00Python 3.15.0 alpha 6<p><strong>This is an early developer preview of Python 3.15</strong></p> <p><a href="https://www.python.org/downloads/release/python-3150a6/">www.python.org/downloads/release/python-3150a6/</a></p> <h2 id="major-new-features-of-the-3.15-series-compared-to-3.14">Major new features of the 3.15 series, compared to 3.14</h2> <p>Python 3.15 is still in development. This release, 3.15.0a6, is the sixth of eight planned alpha releases.</p> <p>Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.</p> <p>During the alpha phase, features may be added up until the start of the beta phase (2026-05-05) and, if necessary, may be modified or deleted up until the release candidate phase (2026-07-28). Please keep in mind that this is a preview release and its use is <strong>not</strong> recommended for production environments.</p> <p>Many new features for Python 3.15 are still being planned and written. Among the new major new features and changes so far:</p> <ul> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler">PEP 799</a>: A new high-frequency, low-overhead, statistical sampling profiler and dedicated profiling package</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-unpacking-in-comprehensions">PEP 798</a>: Unpacking in comprehensions with <code>*</code> and <code>**</code></li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default">PEP 686</a>: Python now uses UTF-8 as the default encoding</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pep782">PEP 782</a>: A new <code>PyBytesWriter</code> C API to create a Python bytes object</li> <li><a href="https://peps.python.org/pep-0728/">PEP 728</a>: <code>TypedDict</code> with typed extra items</li> <li>The <a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-jit">JIT compiler</a> has been significantly upgraded, with 3-4% geometric mean performance improvement on x86-64 Linux over the standard interpreter, and 7-8% speedup on AArch64 macOS over the tail-calling interpreter</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#improved-error-messages">Improved error messages</a></li> <li><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></li> </ul> <p>The next pre-release of Python 3.15 will be 3.15.0a7, currently scheduled for 2026-03-10.</p> <h2 id="more-resources">More resources</h2> <ul> <li><a href="https://docs.python.org/3.15/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0790/">PEP 790</a>, 3.15 release schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues"><a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></a></li> <li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or via <a href="https://github.com/sponsors/python">GitHub Sponsors</a>) and support <a href="https://www.python.org/psf/donations/">the Python community</a></li> </ul> <h2 id="and-now-for-something-completely-different">And now for something completely different</h2> <blockquote> <p>By reason of these things, then, the whaling voyage was welcome; the great flood-gates of the wonder-world swung open, and in the wild conceits that swayed me to my purpose, two and two there floated into my inmost soul, endless processions of the whale, and, mid most of them all, one grand hooded phantom, like a snow hill in the air.</p> </blockquote> <h2 id="enjoy-the-new-release">Enjoy the new release</h2> <p>Thanks to all of the many volunteers who help make Python development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf/donations/">Python Software Foundation</a>.</p> <p>Regards as the snow slowly falls in Helsinki,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-30218910160490021552026-02-03T17:08:00.002-05:002026-02-03T17:08:51.463-05:00Python 3.14.3 and 3.13.12 are now available!<h1 style="text-align: left;">&nbsp;<span style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 24.2512px; font-variant-ligatures: none;">Python 3.14.3 is now available!</span></h1><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;"></p><div class="lightbox-wrapper" style="background-color: white; color: #222222; display: inline-block; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; outline: 0px; vertical-align: middle;"><a class="lightbox" data-download-href="/uploads/short-url/m1XRMexzPGDioc1Tx2uafIlLm4v.png?dl=1" href="https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/9/a/9a68b560973c511564911ab531fabdab1448ff87.png" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; display: inline-block; outline: 0px; overflow-wrap: break-word; overflow: hidden; position: relative; text-decoration-line: none; transition: 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);" title="Two snakes enjoying a pie with 3.14 on the top and π crimping"><img alt="Two snakes enjoying a pie with 3.14 on the top and π crimping" data-base62-sha1="m1XRMexzPGDioc1Tx2uafIlLm4v" data-dominant-color="C2BDD9" height="500" loading="lazy" src="https://us1.discourse-cdn.com/flex002/uploads/python1/optimized/3X/9/a/9a68b560973c511564911ab531fabdab1448ff87_2_530x500.png" srcset="https://us1.discourse-cdn.com/flex002/uploads/python1/optimized/3X/9/a/9a68b560973c511564911ab531fabdab1448ff87_2_530x500.png, https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/9/a/9a68b560973c511564911ab531fabdab1448ff87.png 1.5x, https://us1.discourse-cdn.com/flex002/uploads/python1/original/3X/9/a/9a68b560973c511564911ab531fabdab1448ff87.png 2x" style="aspect-ratio: 530 / 500; border-style: none; display: inline-block; height: auto; max-width: 100%; object-fit: cover; object-position: center top; outline: 0px; vertical-align: middle;" width="530" /><div class="meta" style="--meta-element-margin: 0.375em; align-items: center; background: none 0% 0% / auto repeat scroll padding-box border-box rgb(34, 34, 34); bottom: 0px; color: white; display: flex; opacity: 0; outline: 0px; position: absolute; transition: opacity 0.2s; width: 530px;"><svg aria-hidden="true" class="fa d-icon d-icon-far-image svg-icon"><use href="#far-image"></use></svg><span class="filename" style="margin: 6px 6px 6px 0px; outline: 0px; overflow: hidden; text-overflow: ellipsis; text-wrap-mode: nowrap;">Two snakes enjoying a pie with 3.14 on the top and π crimping</span><span class="informations" style="color: #a6a6a6; flex-grow: 3; flex-shrink: 0; margin: 6px; outline: 0px; padding-right: 20px;">538×507 110 KB</span><svg aria-hidden="true" class="fa d-icon d-icon-discourse-expand svg-icon"><use href="#discourse-expand"></use></svg></div></a></div><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;"></p><h2 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 24.2512px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem; text-align: left;">This is third maintenance release of Python 3.14</h2><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">Python 3.14.3 is the third maintenance release of 3.14, containing around 299 bugfixes, build improvements and documentation changes since 3.14.2.</p><p style="background-color: white;"><span style="color: #222222; font-family: Arial, sans-serif; font-size: medium;"><span style="font-variant-ligatures: none;"><a href="https://www.python.org/downloads/release/python-3143/">https://www.python.org/downloads/release/python-3143/</a></span></span></p><p style="background-color: white;"><span style="color: #222222; font-family: Arial, sans-serif;"><br /></span></p><h2 style="background-color: white; text-align: left;"><span style="color: #222222; font-family: Arial, sans-serif; font-size: 24.2512px; font-variant-ligatures: none;">Major new features of the 3.14 series, compared to 3.13</span></h2><h1 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 24.2512px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem;"><a aria-label="Heading link" class="anchor" href="https://discuss.python.org/t/python-3-14-3-and-3-13-12-are-now-available/105995#p-284679-major-new-features-of-the-314-series-compared-to-313-3" name="p-284679-major-new-features-of-the-314-series-compared-to-313-3" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; opacity: 0; overflow-wrap: break-word; text-decoration-line: none; transition: opacity 0.25s;"></a></h1><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">Some of the major new features and changes in Python 3.14 are:</p><h3 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 21.112px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem; text-align: left;">New features</h3><h2 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 21.112px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem;"><a aria-label="Heading link" class="anchor" href="https://discuss.python.org/t/python-3-14-3-and-3-13-12-are-now-available/105995#p-284679-new-features-4" name="p-284679-new-features-4" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; opacity: 0; overflow-wrap: break-word; text-decoration-line: none; transition: opacity 0.25s;"></a></h2><ul style="background-color: white; clear: both; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; margin: 1em 0px 1em 1.25em; padding-inline-start: 1.25em; padding: 0px;"><li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-free-threaded-now-supported" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 779</a>: Free-threaded Python is officially supported</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-deferred-annotations" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 649</a>: The evaluation of annotations is now deferred, improving the semantics of using annotations.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-750-template-string-literals" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-734-multiple-interpreters-in-the-standard-library" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 734</a>: Multiple interpreters in the stdlib.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-784-zstandard-support-in-the-standard-library" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 784</a>: A new module&nbsp;<code style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 242, 242); border-radius: 4px; font-family: &quot;JetBrains Mono&quot;, Consolas, Monaco, monospace; font-size: 0.875rem; line-height: 1.30769; padding: 2px 4px; white-space-collapse: preserve;">compression.zstd</code>&nbsp;providing support for the Zstandard compression algorithm.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-758-allow-except-and-except-expressions-without-brackets" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 758</a>:&nbsp;<code style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 242, 242); border-radius: 4px; font-family: &quot;JetBrains Mono&quot;, Consolas, Monaco, monospace; font-size: 0.875rem; line-height: 1.30769; padding: 2px 4px; white-space-collapse: preserve;">except</code>&nbsp;and&nbsp;<code style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 242, 242); border-radius: 4px; font-family: &quot;JetBrains Mono&quot;, Consolas, Monaco, monospace; font-size: 0.875rem; line-height: 1.30769; padding: 2px 4px; white-space-collapse: preserve;">except*</code>&nbsp;expressions may now omit the brackets.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">Syntax highlighting in PyREPL</a>, and support for color in&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-unittest" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">unittest</a>,&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-argparse" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">argparse</a>,&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-json" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">json</a>&nbsp;and&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-calendar" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">calendar</a>&nbsp;CLIs.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-768-safe-external-debugger-interface" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#uuid" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">UUID versions 6-8</a>&nbsp;are now supported by the&nbsp;<code style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 242, 242); border-radius: 4px; font-family: &quot;JetBrains Mono&quot;, Consolas, Monaco, monospace; font-size: 0.875rem; line-height: 1.30769; padding: 2px 4px; white-space-collapse: preserve;">uuid</code>&nbsp;module, and generation of versions 3-5 are up to 40% faster.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-765-control-flow-in-finally-blocks" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 765</a>: Disallow&nbsp;<code style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 242, 242); border-radius: 4px; font-family: &quot;JetBrains Mono&quot;, Consolas, Monaco, monospace; font-size: 0.875rem; line-height: 1.30769; padding: 2px 4px; white-space-collapse: preserve;">return</code>/<code style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 242, 242); border-radius: 4px; font-family: &quot;JetBrains Mono&quot;, Consolas, Monaco, monospace; font-size: 0.875rem; line-height: 1.30769; padding: 2px 4px; white-space-collapse: preserve;">break</code>/<code style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 242, 242); border-radius: 4px; font-family: &quot;JetBrains Mono&quot;, Consolas, Monaco, monospace; font-size: 0.875rem; line-height: 1.30769; padding: 2px 4px; white-space-collapse: preserve;">continue</code>&nbsp;that exit a&nbsp;<code style="background: none 0% 0% / auto repeat scroll padding-box border-box rgb(242, 242, 242); border-radius: 4px; font-family: &quot;JetBrains Mono&quot;, Consolas, Monaco, monospace; font-size: 0.875rem; line-height: 1.30769; padding: 2px 4px; white-space-collapse: preserve;">finally</code>&nbsp;block.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-capi-config" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 741</a>: An improved C API for configuring Python.</li><li>A&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-tail-call-interpreter" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#improved-error-messages" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">Improved error messages.</a></li><li><a href="https://docs.python.org/3/whatsnew/3.14.html#hmac" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">Builtin implementation of HMAC</a>&nbsp;with formally verified code from the HACL* project.</li><li>A&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#asyncio-introspection-capabilities" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">new command-line interface</a>&nbsp;to inspect running Python processes using asynchronous tasks.</li><li>The pdb module now supports&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#pdb" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">remote attaching to a running Python process</a>.</li></ul><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">For more details on the changes to Python 3.14, see&nbsp;<a aria-label="What’s new in Python 3.14 link clicked 1 time" data-clicks="1" href="https://docs.python.org/3/whatsnew/3.14.html" style="background-color: rgba(0, 0, 0, 0); color: #428fd0; cursor: pointer; overflow-wrap: break-word; text-underline-offset: 2px;">What’s new in Python 3.14</a>.</p><h3 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 21.112px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem; text-align: left;">Build changes</h3><h2 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 21.112px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem;"><a aria-label="Heading link" class="anchor" href="https://discuss.python.org/t/python-3-14-3-and-3-13-12-are-now-available/105995#p-284679-build-changes-5" name="p-284679-build-changes-5" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; opacity: 0; overflow-wrap: break-word; text-decoration-line: none; transition: opacity 0.25s;"></a></h2><ul style="background-color: white; clear: both; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; margin: 1em 0px 1em 1.25em; padding-inline-start: 1.25em; padding: 0px;"><li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-no-more-pgp" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li><li>Official macOS and Windows release binaries include an&nbsp;<a aria-label="experimental JIT compiler link clicked 1 time" data-clicks="1" href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-jit-compiler" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;"><em>experimental</em>&nbsp;JIT compiler</a>.</li><li>Official&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-build-changes" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">Android binary releases</a>&nbsp;are now available.</li></ul><h3 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 21.112px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem; text-align: left;">Incompatible changes, removals and new deprecations</h3><h2 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 21.112px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem;"><a aria-label="Heading link" class="anchor" href="https://discuss.python.org/t/python-3-14-3-and-3-13-12-are-now-available/105995#p-284679-incompatible-changes-removals-and-new-deprecations-6" name="p-284679-incompatible-changes-removals-and-new-deprecations-6" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; opacity: 0; overflow-wrap: break-word; text-decoration-line: none; transition: opacity 0.25s;"></a></h2><ul style="background-color: white; clear: both; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; margin: 1em 0px 1em 1.25em; padding-inline-start: 1.25em; padding: 0px;"><li><a href="https://docs.python.org/3/whatsnew/3.14.html#incompatible-changes" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">Incompatible changes</a></li><li>Python&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#removed" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">removals</a>&nbsp;and&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#deprecated" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">deprecations</a></li><li>C API&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#removed-c-apis" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">removals</a>&nbsp;and&nbsp;<a href="https://docs.python.org/3/whatsnew/3.14.html#deprecated-c-apis" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">deprecations</a></li><li>Overview of all&nbsp;<a href="https://docs.python.org/3/deprecations/index.html" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">pending deprecations</a></li></ul><h2 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 24.2512px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem; text-align: left;">Python install manager</h2><h1 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 24.2512px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem;"><a aria-label="Heading link" class="anchor" href="https://discuss.python.org/t/python-3-14-3-and-3-13-12-are-now-available/105995#p-284679-python-install-manager-7" name="p-284679-python-install-manager-7" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; opacity: 0; overflow-wrap: break-word; text-decoration-line: none; transition: opacity 0.25s;"></a></h1><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">The installer we offer for Windows is being replaced by our new install manager, which can be installed from&nbsp;<a href="https://apps.microsoft.com/detail/9NQ7512CXL7T" style="background-color: rgba(0, 0, 0, 0); color: #428fd0; cursor: pointer; overflow-wrap: break-word; text-underline-offset: 2px;">the Windows Store</a>&nbsp;or from its&nbsp;<a href="https://www.python.org/downloads/latest/pymanager/" style="background-color: rgba(0, 0, 0, 0); color: #428fd0; cursor: pointer; overflow-wrap: break-word; text-underline-offset: 2px;">download page</a>. See&nbsp;<a href="https://docs.python.org/3/using/windows.html" style="background-color: rgba(0, 0, 0, 0); color: #428fd0; cursor: pointer; overflow-wrap: break-word; text-underline-offset: 2px;">our documentation</a>&nbsp;for more information. The JSON file available for download contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p><h2 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 24.2512px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem; text-align: left;">More resources</h2><h1 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 24.2512px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem;"><a aria-label="Heading link" class="anchor" href="https://discuss.python.org/t/python-3-14-3-and-3-13-12-are-now-available/105995#p-284679-more-resources-8" name="p-284679-more-resources-8" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; opacity: 0; overflow-wrap: break-word; text-decoration-line: none; transition: opacity 0.25s;"></a></h1><ul style="background-color: white; clear: both; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none; margin: 1em 0px 1em 1.25em; padding-inline-start: 1.25em; padding: 0px;"><li><a href="https://docs.python.org/3/" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">Online documentation</a></li><li><a href="https://peps.python.org/pep-0745/" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">PEP 745</a>, 3.14 Release Schedule</li><li>Report bugs at&nbsp;<a href="https://github.com/python/cpython/issues" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">github.com/python/cpython/issues</a></li><li><a href="https://www.python.org/psf/donations/python-dev/" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">Help fund Python directly</a>&nbsp;(or via&nbsp;<a href="https://github.com/sponsors/python" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">GitHub Sponsors</a>) and support&nbsp;<a href="https://www.python.org/psf/donations/" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; overflow-wrap: break-word; text-decoration-line: none;">the Python community</a></li></ul><h1 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 24.2512px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem; text-align: left;"><a aria-label="Heading link" class="anchor" href="https://discuss.python.org/t/python-3-14-3-and-3-13-12-are-now-available/105995#p-284679-and-now-for-something-almost-but-not-quite-completely-different-9" name="p-284679-and-now-for-something-almost-but-not-quite-completely-different-9" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; opacity: 0; overflow-wrap: break-word; text-decoration-line: none; transition: opacity 0.25s;"></a>And now for something almost, but not quite, completely different</h1><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">Python 3.13.12 is&nbsp;<em>also</em>&nbsp;now available!</p><p style="background-color: white;"><span style="font-family: Arial, sans-serif; font-size: medium;"><span style="font-variant-ligatures: none;"><a href="https://www.python.org/downloads/release/python-31312/">https://www.python.org/downloads/release/python-31312/</a></span></span></p><p style="background-color: white;"><span style="font-family: Arial, sans-serif;"><br /></span></p><h2 style="background-color: white; text-align: left;"><span style="color: #222222; font-family: Arial, sans-serif; font-size: 21.112px; font-variant-ligatures: none;">This is the twelfth maintenance release of Python 3.13</span></h2><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">Python 3.13.12 is the twelfth maintenance release of 3.13, containing around 250 bugfixes, build improvements and documentation changes since 3.13.11.</p><h1 style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-feature-settings: normal; font-size: 24.2512px; font-variant-ligatures: none; font-variation-settings: normal; line-height: 1.2; margin: 2rem 0px 0.67rem;"><a aria-label="Heading link" class="anchor" href="https://discuss.python.org/t/python-3-14-3-and-3-13-12-are-now-available/105995#p-284679-enjoy-the-new-releases-11" name="p-284679-enjoy-the-new-releases-11" style="background-color: rgba(0, 0, 0, 0); color: #0088cc; cursor: pointer; opacity: 0; overflow-wrap: break-word; text-decoration-line: none; transition: opacity 0.25s;"></a>Enjoy the new releases</h1><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the&nbsp;<a href="https://www.python.org/psf-landing/" style="background-color: rgba(0, 0, 0, 0); color: #428fd0; cursor: pointer; overflow-wrap: break-word; text-underline-offset: 2px;">Python Software Foundation</a>.</p><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">Regards from an international releasing task force spread out over a whopping 10 timezones this time,</p><p style="background-color: white; color: #222222; font-family: Arial, sans-serif; font-size: 16px; font-variant-ligatures: none;">Your release team,<br />Thomas Wouters&nbsp;<br />Hugo van Kemenade&nbsp;<br />Ned Deily&nbsp;<br />Steve Dower&nbsp;<br />Łukasz Langa&nbsp;</p>Thomas Woutershttp://www.blogger.com/profile/10346112333332923135noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-67703989466904014322026-01-14T12:38:00.006-05:002026-01-15T14:05:47.597-05:00Python 3.15.0 alpha 5 (yes, another alpha!)<p><i>Note: 3.15.0a4 was accidentally built against <code>main</code> from 2025-12-23 instead of 2026-01-13, so this 3.15.0a5 is an extra release correctly built against 2026-01-14.</i></p> <p><strong>This is an early developer preview of Python 3.15</strong></p> <p><a href="https://www.python.org/downloads/release/python-3150a5/">www.python.org/downloads/release/python-3150a5/</a></p> <h2 id="major-new-features-of-the-3.15-series-compared-to-3.14">Major new features of the 3.15 series, compared to 3.14</h2> <p>Python 3.15 is still in development. This release, 3.15.0a5, is the fifth of <strike>seven</strike> eight planned alpha releases.</p> <p>Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.</p> <p>During the alpha phase, features may be added up until the start of the beta phase (2026-05-05) and, if necessary, may be modified or deleted up until the release candidate phase (2026-07-28). Please keep in mind that this is a preview release and its use is <strong>not</strong> recommended for production environments.</p> <p>Many new features for Python 3.15 are still being planned and written. Among the new major new features and changes so far:</p> <ul> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler">PEP 799</a>: A new high-frequency, low-overhead, statistical sampling profiler and dedicated profiling package</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default">PEP 686</a>: Python now uses UTF-8 as the default encoding</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pep782">PEP 782</a>: A new <code>PyBytesWriter</code> C API to create a Python bytes object</li> <li>The <a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-jit">JIT compiler</a> has been significantly upgraded, with 4-5% geometric mean performance improvement on x86-64 Linux over the standard interpreter, and 7-8% speedup on AArch64 macOS over the tail-calling interpreter</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#improved-error-messages">Improved error messages</a></li> <li><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></li> </ul> <p>The next pre-release of Python 3.15 will be 3.15.0a6, currently scheduled for 2026-02-10.</p> <h2 id="more-resources">More resources</h2> <ul> <li><a href="https://docs.python.org/3.15/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0790/">PEP 790</a>, 3.15 release schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or via <a href="https://github.com/sponsors/python">GitHub Sponsors</a>) and support <a href="https://www.python.org/psf/donations/">the Python community</a></li> </ul> <h2 id="and-now-for-something-completely-different">And now for something completely different</h2> <blockquote> <p>At last it was given out that some time next day the ship would certainly sail. So next morning, Queequeg and I took a very early start.</p> </blockquote> <h2 id="enjoy-the-new-release">Enjoy the new release</h2> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf/donations/">Python Software Foundation</a>.</p> <p>Regards from a still snowfully subzero Helsinki,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-63503911209783760332026-01-13T15:24:00.003-05:002026-01-15T14:06:03.202-05:00Python 3.15.0 alpha 4<i>Edit: This 3.15.0a4 was accidentally built against `main` from 2025-12-23 instead of 2026-01-13, so <a href="https://discuss.python.org/t/python-3-15-0-alpha-5-yes-another-alpha/105721/1">3.15.0a5</a> is an extra release correctly built against 2026-01-14.</i> <p><strong>This is an early developer preview of Python 3.15</strong></p> <p><a href="https://www.python.org/downloads/release/python-3150a4/">www.python.org/downloads/release/python-3150a4/</a></p> <h2 id="major-new-features-of-the-3.15-series-compared-to-3.14">Major new features of the 3.15 series, compared to 3.14</h2> <p>Python 3.15 is still in development. This release, 3.15.0a4, is the fourth of seven planned alpha releases.</p> <p>Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.</p> <p>During the alpha phase, features may be added up until the start of the beta phase (2026-05-05) and, if necessary, may be modified or deleted up until the release candidate phase (2026-07-28). Please keep in mind that this is a preview release and its use is <strong>not</strong> recommended for production environments.</p> <p>Many new features for Python 3.15 are still being planned and written. Among the new major new features and changes so far:</p> <ul> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler">PEP 799</a>: A new high-frequency, low-overhead, statistical sampling profiler and dedicated profiling package</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default">PEP 686</a>: Python now uses UTF-8 as the default encoding</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pep782">PEP 782</a>: A new <code>PyBytesWriter</code> C API to create a Python bytes object</li> <li>The <a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-jit">JIT compiler</a> has been significantly upgraded, with 3-4% geometric mean performance improvement on x86-64 Linux over the standard interpreter, and 7-8% speedup on AArch64 macOS over the tail-calling interpreter</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#improved-error-messages">Improved error messages</a></li> <li><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></li> </ul> <p>The next pre-release of Python 3.15 will be 3.15.0a5, currently scheduled for 2026-02-10.</p> <h2 id="more-resources">More resources</h2> <ul> <li><a href="https://docs.python.org/3.15/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0790/">PEP 790</a>, 3.15 release schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or via <a href="https://github.com/sponsors/python">GitHub Sponsors</a>) and support <a href="https://www.python.org/psf/donations/">the Python community</a></li> </ul> <h2 id="and-now-for-something-completely-different">And now for something completely different</h2> <blockquote> <p>Upon this every soul was confounded; for the phenomenon just then observed by Ahab had unaccountably escaped every one else; but its very blinding palpableness must have been the cause.</p> <p>Thrusting his head half way into the binnacle, Ahab caught one glimpse of the compasses; his uplifted arm slowly fell; for a moment he almost seemed to stagger. Standing behind him Starbuck looked, and lo! the two compasses pointed East, and the Pequod was as infallibly going West.</p> <p>But ere the first wild alarm could get out abroad among the crew, the old man with a rigid laugh exclaimed, “I have it! It has happened before. Mr. Starbuck, last night’s thunder turned our compasses—that’s all. Thou hast before now heard of such a thing, I take it.”</p> <p>“Aye; but never before has it happened to me, sir,” said the pale mate, gloomily.</p> </blockquote> <h2 id="enjoy-the-new-release">Enjoy the new release</h2> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf/donations/">Python Software Foundation</a>.</p> <p>Regards from a snowfully subzero Helsinki,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-39290872114067469712025-12-16T09:44:00.004-05:002025-12-16T09:44:24.962-05:00Python 3.15.0 alpha 3<p><strong>This is an early developer preview of Python 3.15</strong></p> <p><a href="https://www.python.org/downloads/release/python-3150a3/">www.python.org/downloads/release/python-3150a3/</a></p> <h2 id="major-new-features-of-the-3.15-series-compared-to-3.14">Major new features of the 3.15 series, compared to 3.14</h2> <p>Python 3.15 is still in development. This release, 3.15.0a3, is the third of seven planned alpha releases.</p> <p>Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.</p> <p>During the alpha phase, features may be added up until the start of the beta phase (2026-05-05) and, if necessary, may be modified or deleted up until the release candidate phase (2026-07-28). Please keep in mind that this is a preview release and its use is <strong>not</strong> recommended for production environments.</p> <p>Many new features for Python 3.15 are still being planned and written. Among the new major new features and changes so far:</p> <ul> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler">PEP 799</a>: A new high-frequency, low-overhead, statistical sampling profiler and dedicated profiling package</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default">PEP 686</a>: Python now uses UTF-8 as the default encoding</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pep782">PEP 782</a>: A new <code>PyBytesWriter</code> C API to create a Python bytes object</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#improved-error-messages">Improved error messages</a></li> <li><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></li> </ul> <p>The next pre-release of Python 3.15 will be 3.15.0a4, currently scheduled for 2026-01-13.</p> <h2 id="more-resources">More resources</h2> <ul> <li><a href="https://docs.python.org/3.15/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0790/">PEP 790</a>, 3.15 release schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or via <a href="https://github.com/sponsors/python">GitHub Sponsors</a>) and support <a href="https://donate.python.org/">the Python community</a></li> </ul> <h2 id="and-now-for-something-completely-different">And now for something completely different</h2> <blockquote> <p>Instantly the captain ran forward, and in a loud voice commanded his crew to desist from hoisting the cutting-tackles, and at once cast loose the cables and chains confining the whales to the ship.</p> <p>“What now?” said the Guernsey-man, when the Captain had returned to them.</p> <p>“Why, let me see; yes, you may as well tell him now that—that—in fact, tell him I’ve diddled him, and (aside to himself) perhaps somebody else.”</p> </blockquote> <h2 id="enjoy-the-new-release">Enjoy the new release</h2> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://donate.python.org/">Python Software Foundation</a>.</p> <p>Regards from an even deeper darker Helsinki,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-39140312660899867142025-12-05T16:29:00.001-05:002025-12-05T16:29:32.258-05:00Python 3.14.2 and 3.13.11 are now available!<p>Two more, just three days after the last? Yes!</p> <p>We found some regressions, so here’s an expedited pair of releases. They also come with some bonus security fixes.</p> <h2 id="python-3.14.2">Python 3.14.2</h2> <p><a href="https://www.python.org/downloads/release/python-3142">www.python.org/downloads/release/python-3142/</a></p> <p>Python 3.14.2 is the second maintenance release of 3.14, containing 18 bugfixes, build improvements and documentation changes since 3.14.1.</p> <p>This is an expedited release to fix the following regressions:</p> <ul> <li><p><a href="https://github.com/python/cpython/issues/142206">gh-142206</a>: Exceptions in <code>multiprocessing</code> in running programs while upgrading Python.</p></li> <li><p><a href="https://github.com/python/cpython/issues/142214">gh-142214</a>: Exceptions in dataclasses without <code>__init__</code> method.</p></li> <li><p><a href="https://github.com/python/cpython/issues/142218">gh-142218</a>: Segmentation faults and assertion failures in insertdict.</p></li> <li><p><a href="https://github.com/python/cpython/issues/140797">gh-140797</a>: Crash when using multiple capturing groups in <code>re.Scanner</code></p></li> </ul> <p>And these security fixes:</p> <ul> <li><p><a href="https://github.com/python/cpython/issues/142145">gh-142145</a>: Remove quadratic behavior in node ID cache clearing (<a href="https://www.cve.org/CVERecord?id=CVE-2025-12084">CVE-2025-12084</a>)</p></li> <li><p><a href="https://github.com/python/cpython/issues/119452">gh-119452</a>: Fix a potential virtual memory allocation denial of service in http.server</p></li> </ul> <p>See the full <a href="https://docs.python.org/release/3.14.2/whatsnew/changelog.html">changelog</a>.</p> <h2 id="python-3.13.11">Python 3.13.11</h2> <p><a href="https://www.python.org/downloads/release/python-31311/">www.python.org/downloads/release/python-31311/</a></p> <p>Python 3.13.11 is the eleventh maintenance release of 3.13. This is an expedited release to fix the following regressions:</p> <ul> <li><p><a href="https://github.com/python/cpython/issues/142206">gh-142206</a>: Exceptions in <code>multiprocessing</code> in running programs while upgrading Python.</p></li> <li><p><a href="https://github.com/python/cpython/issues/142218">gh-142218</a>: Segmentation faults and assertion failures in insertdict.</p></li> <li><p><a href="https://github.com/python/cpython/issues/140797">gh-140797</a>: Crash when using multiple capturing groups in <code>re.Scanner</code></p></li> </ul> <p>And these security fixes:</p> <ul> <li><p><a href="https://github.com/python/cpython/issues/142145">gh-142145</a>: Remove quadratic behavior in node ID cache clearing (<a href="https://www.cve.org/CVERecord?id=CVE-2025-12084">CVE-2025-12084</a>)</p></li> <li><p><a href="https://github.com/python/cpython/issues/119451">gh-119451</a>: Fix a potential denial of service in http.client</p></li> <li><p><a href="https://github.com/python/cpython/issues/119452">gh-119452</a>: Fix a potential virtual memory allocation denial of service in http.server</p></li> </ul> <p>See the full <a href="https://docs.python.org/release/3.13.11/whatsnew/changelog.html">changelog</a>.</p> <h2 id="enjoy-the-new-release">Enjoy the new release</h2> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://donate.python.org/">Python Software Foundation</a>.</p> <p>Regards from deeper darker Helsinki,</p> <p>Your release team, <br>Hugo van Kemenade <br>Thomas Wouters <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-34868539913731850962025-12-02T13:50:00.005-05:002025-12-03T05:21:19.989-05:00Python 3.13.10 is now available, too, you know!<p><br /></p><p>The latest version of Python 3.13 is now available!</p><h1>Python 3.13.10</h1> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-3136/">&nbsp;</aside><aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-3136/"><a href="https://www.python.org/downloads/release/python-31310/">https://www.python.org/downloads/release/python-31310/</a><div class="onebox-metadata"> </div> <br /></aside><h1>This is the tenth maintenance release of Python 3.13</h1> <p>Python&nbsp;3.13.10 is the tenth maintenance release of 3.13, containing around 300 bugfixes, build improvements and documentation changes since 3.13.9.</p><p><a href="https://docs.python.org/release/3.13.10/whatsnew/changelog.html#python-3-13-10">Full Changelog</a></p><h1><a class="anchor" href="https://discuss.python.org/t/python-3-13-6-has-been-released/101482#p-265330-more-resources-3" name="p-265330-more-resources-3"></a>More resources</h1> <ul><li><a href="https://docs.python.org/3.13/">Online Documentation</a></li><li><a href="https://peps.python.org/pep-0719/">PEP 719</a>, 3.13 Release Schedule</li><li>Report bugs at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a>.</li><li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or <a href="https://github.com/sponsors/python">via GitHub Sponsors</a>), and support <a href="https://www.python.org/psf/donations/">the Python community</a>.</li></ul>&nbsp;<br /><div><h1 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-13-6-has-been-released/101482#p-265330-enjoy-the-new-releases-4" name="p-265330-enjoy-the-new-releases-4"></a>Enjoy the new releases</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.</p> <p>Regards from your package managers,</p> Thomas Wouters <br /> Ned Deily <br /> Steve Dower <br />Łukasz Langa </div>Thomas Woutershttp://www.blogger.com/profile/10346112333332923135noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-29909051674207500232025-12-02T11:43:00.001-05:002025-12-02T11:45:50.038-05:00Python 3.14.1 is now available!<p><img width="538" height="507" src="https://hugovk.dev/python-3.14.png" alt="Two snakes enjoying a pie with 3.14 on the top and π crimping"></p> <h1 id="this-is-first-maintenance-release-of-python-3.14">This is first maintenance release of Python 3.14</h1> <p>Python 3.14.1 is the first maintenance release of 3.14, containing around 558 bugfixes, build improvements and documentation changes since 3.14.0.</p> <p><a href="https://www.python.org/downloads/release/python-3141/>www.python.org/downloads/release/python-3141/</a></p> <h1 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h1> <p>Some of the major new features and changes in Python 3.14 are:</p> <h2 id="new-features">New features</h2> <ul> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-free-threaded-now-supported">PEP 779</a>: Free-threaded Python is officially supported</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-deferred-annotations">PEP 649</a>: The evaluation of annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-750-template-string-literals">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-734-multiple-interpreters-in-the-standard-library">PEP 734</a>: Multiple interpreters in the stdlib.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-784-zstandard-support-in-the-standard-library">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-758-allow-except-and-except-expressions-without-brackets">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-768-safe-external-debugger-interface">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 are up to 40% faster.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-765-control-flow-in-finally-blocks">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-capi-config">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-tail-call-interpreter">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#hmac">Builtin implementation of HMAC</a> with formally verified code from the HACL* project.</li> <li>A <a href="https://docs.python.org/3/whatsnew/3.14.html#asyncio-introspection-capabilities">new command-line interface</a> to inspect running Python processes using asynchronous tasks.</li> <li>The pdb module now supports <a href="https://docs.python.org/3/whatsnew/3.14.html#pdb">remote attaching to a running Python process</a>.</li> </ul> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3/whatsnew/3.14.html">What’s new in Python 3.14</a>.</p> <h2 id="build-changes">Build changes</h2> <ul> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-no-more-pgp">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-jit-compiler"><em>experimental</em> JIT compiler</a>.</li> <li>Official <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-build-changes">Android binary releases</a> are now available.</li> </ul> <h2 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h2> <ul> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3/whatsnew/3.14.html#removed-c-apis">removals</a> and <a href="https://docs.python.org/3/whatsnew/3.14.html#deprecated-c-apis">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3/deprecations/index.html">pending deprecations</a></li> </ul> <h1 id="python-install-manager">Python install manager</h1> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or from its <a href="https://www.python.org/downloads/latest/pymanager/">download page</a>. See <a href="https://docs.python.org/3/using/windows.html">our documentation</a> for more information. The JSON file available for download contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.14 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or via <a href="https://github.com/sponsors/python">GitHub Sponsors</a>) and support <a href="https://www.python.org/psf/donations/">the Python community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>Seki Takakazu (関 孝和; c. March 1642 – December 5, 1708) was a Japanese mathematician and samurai who laid the foundations of Japanese mathematics, later known as <em>wasan</em> (和算, from <em>wa</em> (“Japanese”) and <em>san</em> (“calculation”).</p> <p>Seki was a contemporary of Isaac Newton and Gottfried Leibniz but worked independently. He created a new algebraic system, worked on infinitesimal calculus, and is credited with the discovery of Bernoulli numbers (before Bernoulli’s birth).</p> <p>Seki also <a href="https://dl.ndl.go.jp/pid/3508174/1/13">calculated <em>π</em> to 11 decimal places</a> using a polygon with 131,072 sides inscribed within a circle, using an acceleration method now known as Aitken’s delta-squared process, which was rediscovered by Alexander Aitken in 1926.</p> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from deepest darkest Helsinki,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-26924162021180243512025-11-19T04:56:00.002-05:002025-11-19T04:56:43.901-05:00Python 3.15.0 alpha 2<p><strong>This is an early developer preview of Python 3.15</strong></p> <p>https://www.python.org/downloads/release/python-3150a2/</p> <h1 id="major-new-features-of-the-3.15-series-compared-to-3.14">Major new features of the 3.15 series, compared to 3.14</h1> <p>Python 3.15 is still in development. This release, 3.15.0a2, is the second of seven planned alpha releases.</p> <p>Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.</p> <p>During the alpha phase, features may be added up until the start of the beta phase (2026-05-05) and, if necessary, may be modified or deleted up until the release candidate phase (2026-07-28). Please keep in mind that this is a preview release and its use is <strong>not</strong> recommended for production environments.</p> <p>Many new features for Python 3.15 are still being planned and written. Among the new major new features and changes so far:</p> <ul> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler">PEP 799</a>: A new high-frequency, low-overhead, statistical sampling profiler and dedicated profiling package</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default">PEP 686</a>: Python now uses UTF-8 as the default encoding</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pep782">PEP 782</a>: A new <code>PyBytesWriter</code> C API to create a Python bytes object</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#improved-error-messages">Improved error messages</a></li> <li><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></li> </ul> <p>The next pre-release of Python 3.15 will be 3.15.0a3, currently scheduled for 2025-12-16.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.15/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0790/">PEP 790</a>, 3.15 release schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or via <a href="https://github.com/sponsors/python">GitHub Sponsors</a>) and support <a href="https://donate.python.org/">the Python community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <blockquote> <p>“An hour,” said Ahab, standing rooted in his boat’s stern; and he gazed beyond the whale’s place, towards the dim blue spaces and wide wooing vacancies to leeward. It was only an instant; for again his eyes seemed whirling round in his head as he swept the watery circle. The breeze now freshened; the sea began to swell.</p> <p>“The birds!—the birds!” cried Tashtego.</p> </blockquote> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://donate.python.org/">Python Software Foundation</a>.</p> <p>Regards from a crisp and sunny subzero Helsinki,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-48931738496790628872025-10-15T02:13:00.000-04:002025-10-15T02:13:48.984-04:00Python 3.15.0 alpha 1<p><strong>This is an early developer preview of Python 3.15</strong></p> <p>https://www.python.org/downloads/release/python-3150a1/</p> <h1 id="major-new-features-of-the-3.15-series-compared-to-3.14">Major new features of the 3.15 series, compared to 3.14</h1> <p>Python 3.15 is still in development. This release, 3.15.0a1, is the first of seven planned alpha releases.</p> <p>Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process.</p> <p>During the alpha phase, features may be added up until the start of the beta phase (2026-05-05) and, if necessary, may be modified or deleted up until the release candidate phase (2026-07-28). Please keep in mind that this is a preview release and its use is <strong>not</strong> recommended for production environments.</p> <p>Many new features for Python 3.15 are still being planned and written. Among the new major new features and changes so far:</p> <ul> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler">PEP 799</a>: A dedicated profiling package for Python profiling tools</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default">PEP 686</a>: Python now uses UTF-8 as the default encoding</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pep782">PEP 782</a>: A new <code>PyBytesWriter</code> C API to create a Python bytes object</li> <li><a href="https://docs.python.org/3.15/whatsnew/3.15.html#improved-error-messages">Improved error messages</a></li> <li><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></li> </ul> <p>The next pre-release of Python 3.15 will be 3.15.0a2, currently scheduled for 2025-11-18.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.15/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0790/">PEP 790</a>, 3.15 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or via <a href="https://github.com/sponsors/python">GitHub Sponsors</a>) and support <a href="https://www.python.org/psf/donations/">the Python community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <blockquote> <p>And hence not only at substantiated times, upon well known separate feeding-grounds, could Ahab hope to encounter his prey; but in crossing the widest expanses of water between those grounds he could, by his art, so place and time himself on his way, as even then not to be wholly without prospect of a meeting.</p> </blockquote> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from Helsinki before the first PyCon Finland in 9 years,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-64129430707198512302025-10-14T15:07:00.004-04:002025-10-14T15:09:22.582-04:00Python 3.13.9 is now available!<div style="text-align: left;">&nbsp;</div><h1 style="text-align: left;">Python 3.13.9</h1><div style="text-align: left;">&nbsp;</div><div style="text-align: left;"><a href="https://www.python.org/downloads/release/python-3139/">https://www.python.org/downloads/release/python-3139/</a></div><div style="text-align: left;">&nbsp;</div><div style="text-align: left;">3.13.9 is an expedited release containing a fix for one specific regression in Python 3.13.8:<ul><li><a href="https://github.com/python/cpython/issues/139783">gh-139783</a>: Fix <code>inspect.getsourcelines</code> for the case when a decorator is followed by a comment or an empty line.</li></ul> <p>There are no other changes in this release, compared to 3.13.8.</p> <h1><a class="anchor" href="https://discuss.python.org/t/python-3-13-9-released/104362#p-274483-more-resources-2" name="p-274483-more-resources-2"></a>More resources</h1> <ul><li><a href="https://docs.python.org/3/">3.13 online documentation</a></li><li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.13 release schedule</li><li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li><li><a href="https://www.python.org/psf/donations/">Help fund Python and its community</a></li></ul>&nbsp;&nbsp;<br /></div><div style="text-align: left;"><h1><a class="anchor" href="https://discuss.python.org/t/python-3-13-9-released/104362#p-274483-enjoy-the-new-releases-3" name="p-274483-enjoy-the-new-releases-3"></a>Enjoy the new releases</h1> <p>&nbsp;</p><p>Thanks to all of the many volunteers who help make Python Development and this release possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Your expedited release team,<br /> Your release team,<br /> Thomas Wouters <br /> Ned Deily <br /> Steve Dower <br /> Łukasz Langa </p></div>Thomas Woutershttp://www.blogger.com/profile/10346112333332923135noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-15114184228903582772025-10-09T17:00:00.004-04:002025-10-14T15:09:35.238-04:00Python 3.12.12, 3.11.14, 3.10.19 and 3.9.24 are now available!<p>&nbsp;</p><h1 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-12-12-3-11-14-3-10-19-and-3-9-24-are-now-available/104273#p-273973-old-timer-release-party-1" name="p-273973-old-timer-release-party-1"></a>Old-timer Release Party</h1> <p>We couldn’t just let Hugo have fun with 3.14.0, so here are new security releases of the venerated Python versions, 3.12 through 3.9!</p> <h1 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-12-12-3-11-14-3-10-19-and-3-9-24-are-now-available/104273#p-273973-security-content-in-these-releases-2" name="p-273973-security-content-in-these-releases-2"></a>Security content in these releases</h1> <h3><a class="anchor" href="https://discuss.python.org/t/python-3-12-12-3-11-14-3-10-19-and-3-9-24-are-now-available/104273#p-273973-xml-related-3" name="p-273973-xml-related-3"></a>&nbsp;</h3><h3>XML-related</h3> <ul><li><a href="https://github.com/python/cpython/issues/139312">gh-139312</a>: Upgraded bundled libexpat to 2.7.3 to fix <a href="https://nvd.nist.gov/vuln/detail/CVE-2025-59375">CVE-2025-59375</a></li><li><a href="https://github.com/python/cpython/issues/139400">gh-139400</a>: <a href="https://www.python.org/downloads/release/library/pyexpat.html#module-xml.parsers.expat"><code>xml.parsers.expat</code></a>: Made sure that parent Expat parsers are only garbage-collected once they are no longer referenced by subparsers created by <a href="https://www.python.org/downloads/release/library/pyexpat.html#xml.parsers.expat.xmlparser.ExternalEntityParserCreate"><code>ExternalEntityParserCreate()</code></a>.</li></ul> <h3><a class="anchor" href="https://discuss.python.org/t/python-3-12-12-3-11-14-3-10-19-and-3-9-24-are-now-available/104273#p-273973-archive-related-4" name="p-273973-archive-related-4"></a>Archive-related</h3> <ul><li><a href="https://github.com/python/cpython/issues/130577">gh-130577</a>: <a href="https://www.python.org/downloads/release/library/tarfile.html#module-tarfile"><code>tarfile</code></a> now validates archives to ensure member offsets are non-negative.</li><li><a href="https://github.com/python/cpython/issues/139700">gh-139700</a>: Now checking consistency of the zip64 end of central directory record. Added support for records with “zip64 extensible data” if there are no bytes prepended to the ZIP file.</li></ul> <h3><a class="anchor" href="https://discuss.python.org/t/python-3-12-12-3-11-14-3-10-19-and-3-9-24-are-now-available/104273#p-273973-html-parsing-related-5" name="p-273973-html-parsing-related-5"></a>HTML parsing-related</h3> <ul><li><a href="https://github.com/python/cpython/issues/135661">gh-135661</a>: Fixed parsing start and end tags in <a href="https://www.python.org/downloads/release/library/html.parser.html#html.parser.HTMLParser"><code>html.parser.HTMLParser</code></a> according to the HTML5 standard.</li><li>Whitespaces no longer accepted between <code>&lt;/</code> and the tag name. E.g. <code>&lt;/ script&gt;</code> does not end the script section.</li><li>Vertical tabulation (<code>\v</code>) and non-ASCII whitespaces no longer recognized as whitespaces. The only whitespaces are <code>\t\n\r\f</code> and space.</li><li>Null character (U+0000) no longer ends the tag name.</li><li>Attributes and slashes after the tag name in end tags are now ignored, instead of terminating after the first <code>&gt;</code> in quoted attribute value. E.g. <code>&lt;/script/foo="&gt;"/&gt;</code>.</li><li>Multiple slashes and whitespaces between the last attribute and closing <code>&gt;</code> are now ignored in both start and end tags. E.g. <code>&lt;a foo=bar/ //&gt;</code>.</li><li>Multiple <code>=</code> between attribute name and value are no longer collapsed. E.g. <code>&lt;a foo==bar&gt;</code> produces attribute “foo” with value “=bar”.</li><li><a href="https://github.com/python/cpython/issues/135661">gh-135661</a>: Fixed CDATA section parsing in <a href="https://www.python.org/downloads/release/library/html.parser.html#html.parser.HTMLParser"><code>html.parser.HTMLParser</code></a> according to the HTML5 standard: <code>] ]&gt;</code> and <code>]] &gt;</code> no longer end the CDATA section. Add private method <code>_set_support_cdata()</code> which can be used to specify how to parse <code>&lt;[CDATA[</code> — as a CDATA section in foreign content (SVG or MathML) or as a bogus comment in the HTML namespace.</li><li><a href="https://github.com/python/cpython/issues/102555">gh-102555</a>: Fixed comment parsing in <a href="https://www.python.org/downloads/release/library/html.parser.html#html.parser.HTMLParser"><code>html.parser.HTMLParser</code></a> according to the HTML5 standard. <code>--!&gt;</code> now ends the comment. <code>-- &gt;</code> no longer ends the comment. Support abnormally ended empty comments <code>&lt;--&gt;</code> and <code>&lt;---&gt;</code>.</li><li><a href="https://github.com/python/cpython/issues/135462">gh-135462</a>: Fixed quadratic complexity in processing specially crafted input in <a href="https://www.python.org/downloads/release/library/html.parser.html#html.parser.HTMLParser"><code>html.parser.HTMLParser</code></a>. End-of-file errors are now handled according to the HTML5 specs – comments and declarations are automatically closed, tags are ignored.</li><li><a href="https://github.com/python/cpython/issues/118350">gh-118350</a>: Fixed support of escapable raw text mode (elements “textarea” and “title”) in <a href="https://www.python.org/downloads/release/library/html.parser.html#html.parser.HTMLParser"><code>html.parser.HTMLParser</code></a>.</li><li><a href="https://github.com/python/cpython/issues/86155">gh-86155</a>: <a href="https://www.python.org/downloads/release/library/html.parser.html#html.parser.HTMLParser.close"><code>html.parser.HTMLParser.close()</code></a> no longer loses data when the <code>&lt;script&gt;</code> tag is not closed.</li></ul> <h2><a class="anchor" href="https://discuss.python.org/t/python-3-12-12-3-11-14-3-10-19-and-3-9-24-are-now-available/104273#p-273973-python-31212-6" name="p-273973-python-31212-6"></a>&nbsp;</h2><h3 style="text-align: left;">Python 3.12.12</h3> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-31212/">&nbsp;</aside><aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-31212/"><a href="https://www.python.org/downloads/release/python-31212/">https://www.python.org/downloads/release/python-31212/</a><div class="onebox-metadata"> </div> <br /></aside> <h2><br /></h2><h3 style="text-align: left;">Python 3.11.14</h3> <p>Additional security content in this release:</p> <ul><li><a href="https://github.com/python/cpython/issues/135374">gh-135374</a>: Update the bundled copy of setuptools to 79.0.1 to fix <a href="https://nvd.nist.gov/vuln/detail/CVE-2025-47273">CVE-2025-47273</a> and <a href="https://nvd.nist.gov/vuln/detail/CVE-2024-6345">CVE-2024-6345</a>.</li></ul> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-31114/"><br /><div class="onebox-metadata"> </div><a href="https://www.python.org/downloads/release/python-31114/">https://www.python.org/downloads/release/python-31114/</a></aside> <h2><br /></h2><h3 style="text-align: left;">Python 3.10.19</h3> <p>Additional security content in this release:</p> <ul><li><a href="https://github.com/python/cpython/issues/135374">gh-135374</a>: Update the bundled copy of setuptools to 79.0.1 to fix <a href="https://nvd.nist.gov/vuln/detail/CVE-2025-47273">CVE-2025-47273</a> and <a href="https://nvd.nist.gov/vuln/detail/CVE-2024-6345">CVE-2024-6345</a>.</li></ul> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-31019/"><br /><div class="onebox-metadata"> </div><a href="https://www.python.org/downloads/release/python-31019/">https://www.python.org/downloads/release/python-31019/</a></aside> <h2><br /></h2><h3 style="text-align: left;">Python 3.9.24</h3> <p>Additional security content in this release:</p> <ul><li><a href="https://github.com/python/cpython/issues/135374">gh-135374</a>: Update the bundled copy of setuptools to 79.0.1 to fix <a href="https://nvd.nist.gov/vuln/detail/CVE-2025-47273">CVE-2025-47273</a> and <a href="https://nvd.nist.gov/vuln/detail/CVE-2024-6345">CVE-2024-6345</a>.</li><li><a href="https://github.com/python/cpython/issues/121227">gh-121227</a>: Raise an <code>SSL.SSLError</code> if an empty <em>protocols</em> argument is passed to <a href="https://www.python.org/downloads/release/library/ssl.html#ssl.SSLContext.set_npn_protocols"><code>ssl.SSLContext.set_npn_protocols()</code></a> to fix <a href="https://nvd.nist.gov/vuln/detail/CVE-2024-5642">CVE-2024-5642</a></li></ul> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-3924/"> <header class="source">&nbsp;</header><header class="source"><a href="https://www.python.org/downloads/release/python-3924/">https://www.python.org/downloads/release/python-3924/</a></header><div class="onebox-metadata"> </div> <div style="clear: both;"></div> </aside> <h2><br /></h2><h1 style="text-align: left;">Stay safe and upgrade!</h1> <p>As always, upgrading is highly recommended to all users of affected versions.</p> <h1 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-12-12-3-11-14-3-10-19-and-3-9-24-are-now-available/104273#p-273973-enjoy-the-new-releases-11" name="p-273973-enjoy-the-new-releases-11"></a>Enjoy the new releases</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.</p> <p>Regards from your <s>very old</s> tireless release team,<br /> Thomas Wouters <br /> Pablo Galindo Salgado <br /> Łukasz Langa <br /> Ned Deily <br /> Steve Dower </p>Thomas Woutershttp://www.blogger.com/profile/10346112333332923135noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-89938777548454897742025-10-07T11:09:00.001-04:002025-10-07T11:30:50.363-04:00Python 3.14.0 (final) is here!<p><img width="538" height="507" src="https://hugovk.dev/python-3.14.png" alt="Two snakes enjoying a pie with 3.14 on the top and π crimping"></p> <h1 id="python-3.14.0-is-now-available">Python 3.14.0 is now available</h1> <p><a href="https://www.python.org/downloads/release/python-3140/">python.org/downloads/release/python-3140/</a></p> <h1 id="this-is-the-stable-release-of-python-3.14.0">This is the stable release of Python 3.14.0</h1> <p>Python 3.14.0 is the newest major release of the Python programming language, and it contains many new features and optimisations compared to Python 3.13.</p> <h1 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h1> <p>Some of the major new features and changes in Python 3.14 are:</p> <h2 id="new-features">New features</h2> <ul> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-free-threaded-now-supported">PEP 779</a>: Free-threaded Python is officially supported</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-deferred-annotations">PEP 649</a>: The evaluation of annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-750-template-string-literals">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-734-multiple-interpreters-in-the-standard-library">PEP 734</a>: Multiple interpreters in the stdlib.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-784-zstandard-support-in-the-standard-library">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-758-allow-except-and-except-expressions-without-brackets">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-768-safe-external-debugger-interface">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 are up to 40% faster.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#pep-765-control-flow-in-finally-blocks">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-capi-config">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-tail-call-interpreter">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#hmac">Builtin implementation of HMAC</a> with formally verified code from the HACL* project.</li> <li>A <a href="https://docs.python.org/3/whatsnew/3.14.html#asyncio-introspection-capabilities">new command-line interface</a> to inspect running Python processes using asynchronous tasks.</li> <li>The pdb module now supports <a href="https://docs.python.org/3/whatsnew/3.14.html#pdb">remote attaching to a running Python process</a>.</li> </ul> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3/whatsnew/3.14.html">What’s new in Python 3.14</a>.</p> <h2 id="build-changes">Build changes</h2> <ul> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-no-more-pgp">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-jit-compiler"><em>experimental</em> JIT compiler</a>.</li> <li>Official <a href="https://docs.python.org/3/whatsnew/3.14.html#whatsnew314-build-changes">Android binary releases</a> are now available.</li> </ul> <h2 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h2> <ul> <li><a href="https://docs.python.org/3/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3/whatsnew/3.14.html#removed-c-apis">removals</a> and <a href="https://docs.python.org/3/whatsnew/3.14.html#deprecated-c-apis">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3/deprecations/index.html">pending deprecations</a></li> </ul> <h1 id="python-install-manager">Python install manager</h1> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or from its <a href="https://www.python.org/downloads/latest/pymanager/">download page</a>. See <a href="https://docs.python.org/3/using/windows.html">our documentation</a> for more information. The JSON file available for download contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.14 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or via <a href="https://github.com/sponsors/python">GitHub Sponsors</a>) and support <a href="https://www.python.org/psf/donations/">the Python community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>Edgar Allen Poe died on 7th October 1849.</p> <p>As we all recall from <a href="https://discuss.python.org/t/python-3-14-0-alpha-1/68039#p-199032-and-now-for-something-completely-different-3">3.14.0a1</a>, piphilology is the creation of mnemonics to help memorise the digits of <em>π</em>, and the number of letters in each word in a pi-poem (or “piem”) successively correspond to the digits of <em>π</em>.</p> <p>In 1995, Mike Keith, an American mathematician and author of constrained writing, retold Poe’s <em>The Raven</em> as a 740-word piem. Here’s the first two stanzas of <a href="http://www.cadaeic.net/naraven.htm"><em>Near A Raven</em></a>:</p> <blockquote> <p><strong>            Poe, E.<br>       Near a Raven</strong></p> <p>Midnights so dreary, tired and weary.<br>     Silently pondering volumes extolling all by-now obsolete lore.<br> During my rather long nap - the weirdest tap!<br>     An ominous vibrating sound disturbing my chamber’s antedoor.<br>         “This”, I whispered quietly, “I ignore”.<br></p> Perfectly, the intellect remembers: the ghostly fires, a glittering ember.<br>     Inflamed by lightning’s outbursts, windows cast penumbras upon this floor.<br> Sorrowful, as one mistreated, unhappy thoughts I heeded:<br>     That inimitable lesson in elegance - Lenore -<br>         Is delighting, exciting…nevermore. </blockquote> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from a colourful autumnal Helsinki,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-15896919666127135942025-10-07T10:42:00.000-04:002025-10-07T10:42:47.573-04:00Python 3.13.8 is now available<p>&nbsp;</p><p>The latest version of Python 3.13 is now available!</p><h1>Python 3.13.8</h1> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-3136/">&nbsp;</aside><aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-3136/"><a href="https://www.python.org/downloads/release/python-3138/">https://www.python.org/downloads/release/python-3138/</a><div class="onebox-metadata"> </div> <br /></aside><h1>This is the eighth maintenance release of Python 3.13</h1> <p>Python 3.13 is the <s>newest</s> previous major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.8 is the eighth maintenance release of 3.13, containing around 200 bugfixes, build improvements and documentation changes since 3.13.7.</p><p><a href="https://docs.python.org/release/3.13.6/whatsnew/changelog.html#python-3-13-6">Full Changelog</a></p><h1><a class="anchor" href="https://discuss.python.org/t/python-3-13-6-has-been-released/101482#p-265330-more-resources-3" name="p-265330-more-resources-3"></a>More resources</h1> <ul><li><a href="https://docs.python.org/3.13/">Online Documentation</a></li><li><a href="https://peps.python.org/pep-0719/">PEP 719</a>, 3.13 Release Schedule</li><li>Report bugs at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a>.</li><li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or <a href="https://github.com/sponsors/python">via GitHub Sponsors</a>), and support <a href="https://www.python.org/psf/donations/">the Python community</a>.</li></ul>&nbsp;<br /><div><h1 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-13-6-has-been-released/101482#p-265330-enjoy-the-new-releases-4" name="p-265330-enjoy-the-new-releases-4"></a>Enjoy the new releases</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.</p> <p>Regards from your package managers,</p> Thomas Wouters <br /> Ned Deily <br /> Steve Dower <br />Łukasz Langa </div>Thomas Woutershttp://www.blogger.com/profile/10346112333332923135noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-66376201501993020822025-09-18T08:06:00.003-04:002025-10-07T09:05:42.090-04:00Python 3.14.0rc3 is go!<p>It’s 🪄 <em>finally</em> 🪄 the final 3.14 release candidate!</p> <p><a href="https://www.python.org/downloads/release/python-3140rc3/" class="uri">https://www.python.org/downloads/release/python-3140rc3/</a></p> <p><em>Note: It’s another magic release. We <a href="https://github.com/python/cpython/pull/138363">fixed another bug</a> that required bumping the magic number stored in Python bytecode (<code>.pyc</code>) files. This means file <code>.pyc</code> files created for rc2 cannot be used for rc3, and they’ll be recompiled.</em></p> <p>The ABI isn’t changing. Wheels built for rc1 should be fine for rc2, rc3 and 3.14.x, so this shouldn’t affect too many people.</p> <p>This release, <strong>3.14.0rc3</strong>, is the final release preview. Entering the release candidate phase, only reviewed code changes which are clear bug fixes are allowed between this release candidate and the final release.</p> <p>The next release of Python 3.14 will be the final release, 3.14.0, scheduled for Tuesday, 2025-10-07.</p> <p>There will be <strong><em>no ABI changes</em></strong> from this point forward in the 3.14 series, and the goal is that there will be as few code changes as possible.</p> <h1 id="call-to-action">Call to action</h1> <p>We <strong><em>strongly encourage</em></strong> maintainers of third-party Python projects to prepare their projects for 3.14 during this phase, and publish Python 3.14 wheels on PyPI to be ready for the final release of 3.14.0, and to help other projects do their own testing. Any binary wheels built against Python 3.14.0 release candidates <strong><em>will work</em></strong> with future versions of Python 3.14. As always, report any issues to <a href="https://github.com/python/cpython/issues">the Python bug tracker</a>.</p> <p>Please keep in mind that this is a preview release and while it’s as close to the final release as we can get it, its use is <strong><em>not</em></strong> recommended for production environments.</p> <h2 id="core-developers-time-to-work-on-documentation-now">Core developers: time to work on documentation now</h2> <ul> <li>Are all your changes properly documented?</li> <li>Are they mentioned in <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s New</a>?</li> <li>Did you notice other changes you know of to have insufficient documentation?</li> </ul> <h1 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h1> <p>Some of the major new features and changes in Python 3.14 are:</p> <h2 id="new-features">New features</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep779">PEP 779</a>: Free-threaded Python is officially supported</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep649">PEP 649</a>: The evaluation of annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep750">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep734">PEP 734</a>: Multiple interpreters in the stdlib.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep758">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep768">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 are up to 40% faster.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep765">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep741">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#hmac">Builtin implementation of HMAC</a> with formally verified code from the HACL* project.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#asyncio-introspection-capabilities">new command-line interface</a> to inspect running Python processes using asynchronous tasks.</li> <li>The pdb module now supports <a href="https://docs.python.org/3.14/whatsnew/3.14.html#remote-attaching-to-a-running-python-process-with-pdb">remote attaching to a running Python process</a>.</li> </ul> <p><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></p> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s new in Python 3.14</a>.</p> <h2 id="build-changes">Build changes</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep761">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-jit-compiler"><em>experimental</em> JIT compiler</a>.</li> <li>Official <a href="https://github.com/python/cpython/issues/137242">Android binary releases</a> are now available.</li> </ul> <h2 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3.14/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-deprecated">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3.14/deprecations/index.html">pending deprecations</a></li> </ul> <h1 id="python-install-manager">Python install manager</h1> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or from its <a href="https://www.python.org/downloads/latest/pymanager/">download page</a>. See <a href="https://docs.python.org/3.14/using/windows.html">our documentation</a> for more information. The JSON file available for download below contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.14/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.14 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/">Help fund Python and its community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>According to Pablo Galindo Salgado at <a href="https://www.youtube.com/live/uTu4H3cynOI?t=29965s">PyCon Greece</a>:</p> <blockquote> There are things that are supercool indeed, like for instance, this is one of the results that I’m more proud about. This equation over here, which you don’t need to understand, you don’t need to be scared about, but this equation here tells what is the maximum time that it takes for a ray of light to fall into a black hole. And as you can see the math is quite complicated but the answer is quite simple: it’s 2π times the mass of the black hole. So if you normalise by the mass of the black hole, the answer is 2π. And because there is nothing specific about your election of things in this formula, this formula is universal. It means it doesn’t depend on anything other than nature itself. Which means that you can use this as a definition of π. This is a valid alternative definition of the number π. It’s literally half the maximum time it takes to fall into a black hole, which is kind of crazy. So next time someone asks you what π means you can just drop this thing and impress them quite a lot. Maybe Hugo could use this information to put it into the release notes of πthon [yes, I can, thank you!]. </blockquote> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from wonderful Cambridge,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa <br>Savannah Ostrowski </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-46046657846746621472025-08-14T15:15:00.005-04:002025-08-14T15:37:27.733-04:00Python 3.14.0rc2 and 3.13.7 are go!<p>Not one but two expedited releases! 🎉 🎉</p> <h1 id="python-3.14.0rc2">Python 3.14.0rc2</h1> <h2 id="its-the-final-penultimate-3.14-release-candidate"><a href="https://www.youtube.com/watch?v=zJpJbL6Pzjo">It’s</a> the <del>final</del> 🪄 penultimate 🪄 3.14 release candidate!</h2> <p><a href="https://www.python.org/downloads/release/python-3140rc2/" class="uri">https://www.python.org/downloads/release/python-3140rc2/</a></p> <p><em>Note: rc2 was originally planned for 2025-08-26, but we <a href="https://discuss.python.org/t/heads-up-pyc-magic-number-change-in-3-14-0rc2/102095">fixed a bug</a> that required bumping the magic number stored in Python bytecode (<code>.pyc</code>) files. This means <code>.pyc</code> files created for rc1 cannot be used for rc2, and they’ll be recompiled.</em></p> <p>The ABI isn’t changing. Wheels built for rc1 should be fine for rc2, rc3 and 3.14.x. So this shouldn’t affect too many people but let’s get this out for testing sooner.</p> <p>Due to this early release, we’ll also add a third release candidate between now and the final 3.14.0 release, with no planned change to the final release date.</p> <p>This release, <strong>3.14.0rc2</strong>, is the penultimate release preview. Entering the release candidate phase, only reviewed code changes which are clear bug fixes are allowed between this release candidate and the final release.</p> <p>The next pre-release of Python 3.14 will be the final release candidate, 3.14.0rc3, scheduled for 2025-09-16; the official release of 3.14.0 is scheduled for Tuesday, 2025-10-07.</p> <p>There will be <strong><em>no ABI changes</em></strong> from this point forward in the 3.14 series, and the goal is that there will be as few code changes as possible.</p> <h2 id="call-to-action">Call to action</h2> <p>We <strong><em>strongly encourage</em></strong> maintainers of third-party Python projects to prepare their projects for 3.14 during this phase, and publish Python 3.14 wheels on PyPI to be ready for the final release of 3.14.0, and to help other projects do their own testing. Any binary wheels built against Python 3.14.0 release candidates <strong><em>will work</em></strong> with future versions of Python 3.14. As always, report any issues to <a href="https://github.com/python/cpython/issues">the Python bug tracker</a>.</p> <p>Please keep in mind that this is a preview release and while it’s as close to the final release as we can get it, its use is <strong><em>not</em></strong> recommended for production environments.</p> <h3 id="core-developers-time-to-work-on-documentation-now">Core developers: time to work on documentation now</h3> <ul> <li>Are all your changes properly documented?</li> <li>Are they mentioned in <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s New</a>?</li> <li>Did you notice other changes you know of to have insufficient documentation?</li> </ul> <h2 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h2> <p>Some of the major new features and changes in Python 3.14 are:</p> <h3 id="new-features">New features</h3> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep779">PEP 779</a>: Free-threaded Python is officially supported</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep649">PEP 649</a>: The evaluation of annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep750">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep734">PEP 734</a>: Multiple interpreters in the stdlib.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep758">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep768">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 are up to 40% faster.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep765">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep741">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#hmac">Builtin implementation of HMAC</a> with formally verified code from the HACL* project.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#asyncio-introspection-capabilities">new command-line interface</a> to inspect running Python processes using asynchronous tasks.</li> <li>The pdb module now supports <a href="https://docs.python.org/3.14/whatsnew/3.14.html#remote-attaching-to-a-running-python-process-with-pdb">remote attaching to a running Python process</a>.</li> </ul> <p><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></p> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s new in Python 3.14</a>.</p> <h3 id="build-changes">Build changes</h3> <p><em>Note that Android binaries are new in rc2!</em></p> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep761">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <em><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-jit-compiler">experimental</a></em><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-jit-compiler">JIT compiler</a>.</li> <li>Official <a href="https://github.com/python/cpython/issues/137242">Android binary releases</a> are now available.</li> </ul> <h3 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h3> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3.14/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-deprecated">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3.14/deprecations/index.html">pending deprecations</a></li> </ul> <h2 id="python-install-manager">Python install manager</h2> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or from its <a href="https://www.python.org/downloads/latest/pymanager/">download page</a>. See <a href="https://docs.python.org/3.14/using/windows.html">our documentation</a> for more information. The JSON file available for download below contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="python-3.13.7">Python 3.13.7</h1> <h2 id="this-is-the-seventh-maintenance-release-of-python-3.13">This is the seventh maintenance release of Python 3.13</h2> <p><a href="https://www.python.org/downloads/release/python-3137/" class="uri">https://www.python.org/downloads/release/python-3137/</a></p> <p>Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.7 is the seventh maintenance release of 3.13.</p> <p>3.13.7 is an expedited release to fix a significant issue with the 3.13.6 release:</p> <ul> <li><a href="https://github.com/python/cpython/issues/137583">gh-137583</a>: Regression in ssl module between 3.13.5 and 3.13.6: reading from a TLS-encrypted connection blocks</li> </ul> <p>A few other bug fixes (which would otherwise have waited until the next release) are also included.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.14/">3.14 online documentation</a></li> <li><a href="https://docs.python.org/3/">3.13 online documentation</a></li> <li><a href="https://peps.python.org/pep-0719/">PEP 719</a>, 3.14 release schedule</li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.13 release schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/">Help fund Python and its community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>The magpie, <em>Pica pica</em> in Latin, is a black and white bird in the crow family, known for its chattering call.</p> <p>The first-known use in English is from a <a href="https://archive.org/details/transactionscong5191cong/page/360/mode/2up?q=magpy">1589 poem</a>, where magpie is spelled “magpy” and cuckoo is “cookow”:</p> <blockquote> Th[e]y fly to wood like breeding hauke,<br> &nbsp;&nbsp;And leave old neighbours loue,<br> They pearch themselves in syluane lodge,<br> &nbsp;&nbsp;And soare in th' aire aboue.<br> There : magpy teacheth them to chat,<br> &nbsp;&nbsp;And cookow soone doth hit them pat. </blockquote> <p>The name comes from Mag, short for Margery or Margaret (compare robin redbreast, jenny wren, and its corvid relative jackdaw); and pie, a magpie or other bird with black and white (or pied) plumage. The sea-pie (1552) is the oystercatcher, the grey pie (1678) and murdering pie (1688) is the great grey shrike. Others birds include the yellow and black pie, red-billed pie, wandering tree-pie, and river pie. The rain-pie, wood-pie and French pie are woodpeckers.</p> <p>Pie on its own dates to before 1225, and comes from the Latin name for the bird, <em>pica</em>.</p> <h1 id="enjoy-the-new-releases">Enjoy the new releases</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from a busy Helsinki on <a href="https://helsinkifestival.fi/taiteidenyo/en/">Night of the Arts</a>,</p> <p>Your release team,<br> Hugo van Kemenade<br> Thomas Wouters<br> Ned Deily<br> Steve Dower<br> Łukasz Langa</p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-20646199696112310952025-08-06T17:35:00.000-04:002025-08-06T17:35:04.811-04:00Python 3.13.6 is now available<p>The latest version of Python 3.13 is now available!</p><h1><a class="anchor" href="https://discuss.python.org/t/python-3-13-6-has-been-released/101482#p-265330-python-3136-1" name="p-265330-python-3136-1"></a>Python 3.13.6</h1> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-3136/">&nbsp;</aside><aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-3136/"><a href="https://www.python.org/downloads/release/python-3136/">https://www.python.org/downloads/release/python-3136/</a><div class="onebox-metadata"> </div> <br /></aside><h1>This is the sixth maintenance release of Python 3.13</h1> <p>Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.6 is the sixth maintenance release of 3.13, containing around 200 bugfixes, build improvements and documentation changes since 3.13.5.</p> <p><a href="https://docs.python.org/release/3.13.6/whatsnew/changelog.html#python-3-13-6">Full Changelog</a></p><h1><a class="anchor" href="https://discuss.python.org/t/python-3-13-6-has-been-released/101482#p-265330-more-resources-3" name="p-265330-more-resources-3"></a>More resources</h1> <ul><li><a href="https://docs.python.org/3.13/">Online Documentation</a></li><li><a href="https://peps.python.org/pep-0719/">PEP 719</a>, 3.13 Release Schedule</li><li>Report bugs at <a href="https://github.com/python/cpython/issues">https://github.com/python/cpython/issues</a>.</li><li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or <a href="https://github.com/sponsors/python">via GitHub Sponsors</a>), and support <a href="https://www.python.org/psf/donations/">the Python community</a>.</li></ul>&nbsp;<br /><div><h1 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-13-6-has-been-released/101482#p-265330-enjoy-the-new-releases-4" name="p-265330-enjoy-the-new-releases-4"></a>Enjoy the new releases</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation, <a href="https://pyfound.blogspot.com/2025/08/the-psf-has-paused-our-grants-program.html">especially now</a>.</p> <p>Regards from your package managers,</p> Thomas Wouters <br /> Ned Deily <br /> Steve Dower <br />Łukasz Langa </div>Thomas Woutershttp://www.blogger.com/profile/10346112333332923135noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-84129488480500147872025-07-22T15:47:00.004-04:002025-07-30T13:29:30.334-04:00Python 3.14 release candidate 1 is go!<p><a href="https://www.youtube.com/watch?v=ydyXFUmv6S4">It’s</a> the first 3.14 release candidate!</p> <p><a href="https://www.python.org/downloads/release/python-3140rc1/" class="uri">https://www.python.org/downloads/release/python-3140rc1/</a></p> <p><strong>This is the first release candidate of Python 3.14</strong></p> <p>This release, <strong>3.14.0rc1</strong>, is the penultimate release preview. Entering the release candidate phase, only reviewed code changes which are clear bug fixes are allowed between this release candidate and the final release. The second candidate (and the last planned release preview) is scheduled for Tuesday, 2025-08-26, while the official release of 3.14.0 is scheduled for Tuesday, 2025-10-07.</p> <p>There will be <strong><em>no ABI changes</em></strong> from this point forward in the 3.14 series, and the goal is that there will be as few code changes as possible.</p> <h1 id="call-to-action">Call to action</h1> <p>We <strong><em>strongly encourage</em></strong> maintainers of third-party Python projects to prepare their projects for 3.14 during this phase, and where necessary publish Python 3.14 wheels on PyPI to be ready for the final release of 3.14.0, and to help other projects do their own testing. Any binary wheels built against Python 3.14.0rc1 <strong><em>will work</em></strong> with future versions of Python 3.14. As always, report any issues to <a href="https://github.com/python/cpython/issues">the Python bug tracker</a>.</p> <p>Please keep in mind that this is a preview release and while it’s as close to the final release as we can get it, its use is <strong><em>not</em></strong> recommended for production environments.</p> <h2 id="core-developers-time-to-work-on-documentation-now">Core developers: time to work on documentation now</h2> <ul> <li>Are all your changes properly documented?</li> <li>Are they mentioned in <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s New</a>?</li> <li>Did you notice other changes you know of to have insufficient documentation?</li> </ul> <h1 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h1> <p>Some of the major new features and changes in Python 3.14 are:</p> <h2 id="new-features">New features</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep779">PEP 779</a>: Free-threaded Python is officially supported</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep649">PEP 649</a>: The evaluation of annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep750">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep734">PEP 734</a>: Multiple interpreters in the stdlib.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep758">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep768">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 are up to 40% faster.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep765">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep741">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#hmac">Builtin implementation of HMAC</a> with formally verified code from the HACL* project.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#asyncio-introspection-capabilities">new command-line interface</a> to inspect running Python processes using asynchronous tasks.</li> <li>The pdb module now supports <a href="https://docs.python.org/3.14/whatsnew/3.14.html#remote-attaching-to-a-running-python-process-with-pdb">remote attaching to a running Python process</a>.</li> </ul> <p><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></p> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s new in Python 3.14</a>. The next pre-release of Python 3.14 will be the final release candidate, 3.14.0rc2, scheduled for 2025-08-26.</p> <h2 id="build-changes">Build changes</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep761">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-jit-compiler"><em>experimental</em> JIT compiler</a>.</li> </ul> <h2 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3.14/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-deprecated">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3.14/deprecations/index.html">pending deprecations</a></li> </ul> <h1 id="python-install-manager">Python install manager</h1> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or from its <a href="https://www.python.org/downloads/latest/pymanager/">download page</a>. See <a href="https://docs.python.org/3.14/using/windows.html">our documentation</a> for more information. The JSON file available for download below contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.14/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.14 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/">Help fund Python and its community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>Today, 22nd July, is Pi Approximation Day, because 22/7 is a common approximation of <em>π</em> and closer to <em>π</em> than 3.14.</p> <p>22/7 is a Diophantine approximation, named after Diophantus of Alexandria (3rd century CE), which is a way of estimating a real number as a ratio of two integers. 22/7 has been known since antiquity; Archimedes (3rd century BCE) wrote the first known proof that 22/7 overestimates <em>π</em> by comparing 96-sided polygons to the circle it circumscribes.</p> <p>Another approximation is 355/113. In Chinese mathematics, 22/7 and 355/113 are respectively known as Yuelü (约率; yuēlǜ; “approximate ratio”) and Milü (密率; mìlǜ; “close ratio”).</p> <p>Happy <a href="https://piapproximationday.com/">Pi Approximation Day</a>!</p> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from a Helsinki heatwave after an excellent <a href="https://ep2025.europython.eu/">EuroPython</a>,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-29022446127019781172025-07-08T11:04:00.001-04:002025-07-08T11:54:01.251-04:00Python 3.14.0 beta 4 is here!<p><a href="https://www.youtube.com/watch?v=cCim90WO1-4">It’s</a> the final 3.14 beta!</p> <p><a href="https://www.python.org/downloads/release/python-3140b4/" class="uri">https://www.python.org/downloads/release/python-3140b4/</a></p> <p><strong>This is a beta preview of Python 3.14</strong></p> <p>Python 3.14 is still in development. This release, 3.14.0b4, is the last of four planned beta releases.</p> <p>Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.</p> <p>We <strong><em>strongly encourage</em></strong> maintainers of third-party Python projects to <strong><em>test with 3.14</em></strong> during the beta phase and report issues found to <a href="https://github.com/python/cpython/issues">the Python bug tracker</a> as soon as possible. While the release is planned to be feature-complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Tuesday 2025-07-22). Our goal is to have <strong><em>no ABI changes</em></strong> after beta 4 and as few code changes as possible after the first release candidate. To achieve that, it will be <strong><em>extremely important</em></strong> to get as much exposure for 3.14 as possible during the beta phase.</p> <p>This includes creating pre-release wheels for 3.14, as it helps other projects to do their own testing. However, we recommend that your regular production releases wait until 3.14.0rc1, to avoid the risk of ABI breaks.</p> <p>Please keep in mind that this is a preview release and its use is <strong><em>not</em></strong> recommended for production environments.</p> <h1 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h1> <p>Some of the major new features and changes in Python 3.14 are:</p> <h2 id="new-features">New features</h2> <p><em>Note that PEPs <a href="https://discuss.python.org/t/pep-734-multiple-interpreters-in-the-stdlib/41147/36">734</a> and <a href="https://discuss.python.org/t/pep-779-criteria-for-supported-status-for-free-threaded-python/84319/123">779</a> are exceptionally new in beta 3!</em></p> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep779">PEP 779</a>: Free-threaded Python is officially supported</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep649">PEP 649</a>: The evaluation of type annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep750">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep734">PEP 734</a>: Multiple interpreters in the stdlib.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep758">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep768">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 and 8 are up to 40% faster.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep765">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep741">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#hmac">Builtin implementation of HMAC</a> with formally verified code from the HACL* project.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#asyncio-introspection-capabilities">new command-line interface</a> to inspect running Python processes using asynchronous tasks.</li> <li>The pdb module now supports <a href="https://docs.python.org/3.14/whatsnew/3.14.html#remote-attaching-to-a-running-python-process-with-pdb">remote attaching to a running Python process</a>.</li> </ul> <p><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></p> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s new in Python 3.14</a>. The next pre-release of Python 3.14 will be the first release candidate, 3.14.0rc1, scheduled for 2025-07-22.</p> <h2 id="build-changes">Build changes</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep761">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-jit-compiler"><em>experimental</em> JIT compiler</a>.</li> </ul> <h2 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3.14/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-deprecated">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3.14/deprecations/index.html">pending deprecations</a></li> </ul> <h1 id="python-install-manager">Python install manager</h1> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or from its <a href="https://www.python.org/downloads/latest/pymanager/">download page</a>. See <a href="https://docs.python.org/3.14/using/windows.html">our documentation</a> for more information. The JSON file available for download below contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.14/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.14 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/">Help fund Python and its community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>All this talk of <em>π</em> and yet some say <em>π</em> is wrong. <a href="https://www.tauday.com/">Tau Day</a> (June 28th, 6/28 in the US) celebrates <em>τ</em> as the “true circle constant”, as the ratio of a circle’s circumference to its radius, <em>C/r</em> = 6.283185… The <a href="https://www.tauday.com/tau-manifesto">Tau Manifesto</a> declares <em>π</em> “a confusing and unnatural choice for the circle constant”, in part because “<em>2π</em> occurs with astonishing frequency throughout mathematics”.</p> <p>If you wish to embrace <em>τ</em> the good news is <a href="https://peps.python.org/pep-0628/">PEP 628</a> added <a href="https://docs.python.org/3/library/math.html#math.tau"><code>math.tau</code></a> to Python 3.6 in 2016:</p> <blockquote> <p>When working with radians, it is trivial to convert any given fraction of a circle to a value in radians in terms of <code>tau</code>. A quarter circle is <code>tau/4</code>, a half circle is <code>tau/2</code>, seven 25ths is <code>7*tau/25</code>, etc. In contrast with the equivalent expressions in terms of <code>pi</code> (<code>pi/2</code>, <code>pi</code>, <code>14*pi/25</code>), the unnecessary and needlessly confusing multiplication by two is gone.</p> </blockquote> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from a cloudy Helsinki, looking forward to Prague and <a href="https://ep2025.europython.eu/">EuroPython</a> next week,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa</p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-64301766194749226222025-06-17T14:43:00.008-04:002025-08-06T03:48:34.507-04:00Python 3.14.0 beta 3 is here!<p>It’s 3.14 beta 3!</p> <p><a href="https://www.python.org/downloads/release/python-3140b3/" class="uri">https://www.python.org/downloads/release/python-3140b3/</a></p> <p><strong>This is a beta preview of Python 3.14</strong></p> <p>Python 3.14 is still in development. This release, 3.14.0b3, is the third of four planned beta releases.</p> <p>Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.</p> <p>We <strong><em>strongly encourage</em></strong> maintainers of third-party Python projects to <strong><em>test with 3.14</em></strong> during the beta phase and report issues found to <a href="https://github.com/python/cpython/issues">the Python bug tracker</a> as soon as possible. While the release is planned to be feature-complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Tuesday 2025-07-22). Our goal is to have <strong><em>no ABI changes</em></strong> after beta 4 and as few code changes as possible after the first release candidate. To achieve that, it will be <strong><em>extremely important</em></strong> to get as much exposure for 3.14 as possible during the beta phase.</p> <p>This includes creating pre-release wheels for 3.14, as it helps other projects to do their own testing. However, we recommend that your regular production releases wait until 3.14.0rc1, to avoid the risk of ABI breaks.</p> <p>Please keep in mind that this is a preview release and its use is <strong><em>not</em></strong> recommended for production environments.</p> <h1 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h1> <p>Some of the major new features and changes in Python 3.14 are:</p> <h2 id="new-features">New features</h2> <p><em>Note that PEPs <a href="https://discuss.python.org/t/pep-734-multiple-interpreters-in-the-stdlib/41147/36">734</a> and <a href="https://discuss.python.org/t/pep-779-criteria-for-supported-status-for-free-threaded-python/84319/123">779</a> are exceptionally new in beta 3!</em></p> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep779">PEP 779</a>: Free-threaded Python is officially supported</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep649">PEP 649</a>: The evaluation of type annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep750">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep734">PEP 734</a>: Multiple interpreters in the stdlib.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep758">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep768">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 and 8 are up to 40% faster.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep765">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep741">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#hmac">Builtin implementation of HMAC</a> with formally verified code from the HACL* project.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#asyncio-introspection-capabilities">new command-line interface</a> to inspect running Python processes using asynchronous tasks.</li> <li>The pdb module now supports <a href="https://docs.python.org/3.14/whatsnew/3.14.html#remote-attaching-to-a-running-python-process-with-pdb">remote attaching to a running Python process</a>.</li> </ul> <p><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></p> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s new in Python 3.14</a>. The next pre-release of Python 3.14 will be the final beta, 3.14.0b4, scheduled for 2025-07-08.</p> <h2 id="build-changes">Build changes</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep761">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-jit-compiler"><em>experimental</em> JIT compiler</a>.</li> </ul> <h2 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3.14/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-deprecated">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3.14/deprecations/index.html">pending deprecations</a></li> </ul> <h1 id="python-install-manager">Python install manager</h1> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or <a href="https://www.python.org/ftp/python/pymanager/">our FTP page</a>. See <a href="https://docs.python.org/3.14/using/windows.html">our documentation</a> for more information. The JSON file available for download below contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.14/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.14 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/">Help fund Python and its community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>If you’re heading out to sea, remember the <a href="https://xkcd.com/3023/">Maritime Approximation</a>:</p> <blockquote> <p><em>π</em> mph = <em>e</em> knots</p> </blockquote> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from sunny Helsinki with 19 hours of daylight,</p> <p>Your release team, <br>Hugo van Kemenade <br>Ned Deily <br>Steve Dower <br>Łukasz Langa </p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-69125888688727746112025-06-11T18:03:00.001-04:002025-06-11T18:03:28.206-04:00Python 3.13.5 is now available!<p>When I was younger we would call this a brown paper bag release, but actually, we shouldn’t hide from our mistakes. We’re only human. So, please enjoy:</p> <h1 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-13-5-is-now-available-yes-really/95211#p-254481-python-3135-1" name="p-254481-python-3135-1"></a>Python 3.13.5</h1><div style="text-align: left;">&nbsp;</div><div style="text-align: left;"><a href="https://www.python.org/downloads/release/python-3135/">&nbsp;https://www.python.org/downloads/release/python-3135/</a></div><h3 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-13-5-is-now-available-yes-really/95211#p-254481-this-is-the-fifth-maintenance-release-of-python-313-2" name="p-254481-this-is-the-fifth-maintenance-release-of-python-313-2"></a>&nbsp;</h3><h3 style="text-align: left;">This is the fifth maintenance release of Python 3.13</h3> <p>Python 3.13 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. 3.13.5 is the fifth maintenance release of 3.13.</p> <p>3.13.5 is an expedited release to fix a couple of significant issues with the 3.13.4 release:</p> <ul><li><a href="https://github.com/python/cpython/issues/135151">gh-135151</a>: Building extension modules on Windows for the regular (non-free-threaded) build failed.</li><li><a aria-label="gh-135171 link clicked 1 time" data-clicks="1" href="https://github.com/python/cpython/issues/135171">gh-135171</a>: Generator expressions stopped raising <code>TypeError</code> (when iterating over non-iterable objects) at creation time, delaying it to first use.</li><li><a href="https://github.com/python/cpython/issues/135326">gh-135326</a>: Passing int-like objects (like <code>numpy.int64</code>) to <code>random.getrandbits()</code> failed, when it worked before.</li></ul> <p>Several other bug fixes (which would otherwise have waited until the next release) are also included. Special thanks to everyone who worked hard the last couple of days to fix these issues as quickly as possible.</p> <p><a href="https://docs.python.org/release/3.13.5/whatsnew/changelog.html#python-3-13-5">Full Changelog</a></p> <h3 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-13-5-is-now-available-yes-really/95211#p-254481-more-resources-3" name="p-254481-more-resources-3"></a>More resources</h3> <ul><li><a href="https://docs.python.org/3.13/">Online Documentation</a></li><li><a aria-label="PEP 719 link clicked 1 time" data-clicks="1" href="https://peps.python.org/pep-0719/">PEP 719</a>, 3.13 Release Schedule (not that you’ll find this release on there yet.)</li><li>Report bugs via <a href="https://github.com/python/cpython/issues">GitHub</a>.</li><li><a href="https://www.python.org/psf/donations/python-dev/">Help fund Python directly</a> (or <a href="https://github.com/sponsors/python">via GitHub Sponsors</a>), and support <a href="https://www.python.org/psf/donations/">the Python community</a>.</li></ul> <h3 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-13-5-is-now-available-yes-really/95211#p-254481-stay-safe-and-upgrade-4" name="p-254481-stay-safe-and-upgrade-4"></a>&nbsp;</h3><h3 style="text-align: left;">Stay safe and upgrade!</h3> <p>As always, upgrading is highly recommended to all users of 3.13.</p> <h3 style="text-align: left;"><a class="anchor" href="https://discuss.python.org/t/python-3-13-5-is-now-available-yes-really/95211#p-254481-enjoy-the-new-releases-5" name="p-254481-enjoy-the-new-releases-5"></a>&nbsp;</h3><h3 style="text-align: left;">Enjoy the new releases</h3> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.</p> <p>Regards from hey, it’s us again, your release team,<br /> Thomas Wouters <br /> Ned Deily <br /> Steve Dower <br /> Łukasz Langa <br /></p>Thomas Woutershttp://www.blogger.com/profile/10346112333332923135noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-89113930609386873402025-06-03T17:04:00.002-04:002025-06-03T17:04:41.964-04:00Python 3.13.4, 3.12.11, 3.11.13, 3.10.18 and 3.9.23 are now available<p>&nbsp;</p><h1 style="text-align: left;">Python Release Party</h1> <p>It was only meant to be release day for 3.13.4 today, but poor number 13 looked so lonely… And hey, we had a couple of tarfile CVEs that we had to fix. So most of the Release Managers and all the Developers-in-Residence (including Security Developer-in-Residence Seth Michael Larson) came together to make it a full release party.</p> <h1 style="text-align: left;">Security content in these releases</h1> <ul><li><a href="https://github.com/python/cpython/issues/135034">gh-135034</a>: Fixes multiple issues that allowed <code>tarfile</code> extraction filters (<code>filter="data"</code> and <code>filter="tar"</code>) to be bypassed using crafted symlinks and hard links.Addresses <a href="https://www.cve.org/CVERecord?id=CVE-2024-12718"><b>CVE 2024-12718</b></a>, <a href="https://www.cve.org/CVERecord?id=CVE-2025-4138"><b>CVE 2025-4138</b></a>, <a href="https://www.cve.org/CVERecord?id=CVE-2025-4330"><b>CVE 2025-4330</b></a>, and <a href="https://www.cve.org/CVERecord?id=CVE-2025-4517"><b>CVE 2025-4517</b></a>.</li><li><a href="https://github.com/python/cpython/issues/133767">gh-133767</a>: Fix use-after-free in the “unicode-escape” decoder with a non-“strict” error handler.</li><li><a href="https://github.com/python/cpython/issues/128840">gh-128840</a>: Short-circuit the processing of long IPv6 addresses early in <a href="https://docs.python.org/release/3.13.4/library/ipaddress.html#module-ipaddress"><code>ipaddress</code></a> to prevent excessive memory consumption and a minor denial-of-service.</li></ul> <p>In addition to the security fixed mentioned above, a few additional changes to the <code>ipaddress</code> were backported to make the security fixes feasible. (See the full changelogs for each release for more details.)</p> <h1 style="text-align: left;">Python 3.13.4</h1> <p>In addition to the security fixes, the fourth maintenance release of Python 3.13 contains more than 300 bugfixes, build improvements and documentation changes.</p><p><a href="https://www.python.org/downloads/release/python-3134/">https://www.python.org/downloads/release/python-3134/</a></p> <h1 style="text-align: left;">Python 3.12.11</h1><p><a href="https://www.python.org/downloads/release/python-31211/">https://www.python.org/downloads/release/python-31211/</a></p><h1 style="text-align: left;">Python 3.11.13</h1><p>&nbsp;<a href="https://www.python.org/downloads/release/python-31113/">https://www.python.org/downloads/release/python-31113/</a></p><h1 style="text-align: left;">Python 3.10.18</h1> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-31018/"><br /></aside><aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-31018/"><a href="https://www.python.org/downloads/release/python-31018/">https://www.python.org/downloads/release/python-31018/</a></aside><aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-31018/">&nbsp;</aside> <h1 style="text-align: left;">Python 3.9.23</h1> <p>Additional security content in this release (already fixed in older releases for the other versions):</p> <ul><li><a href="https://github.com/python/cpython/issues/80222">gh-80222</a>: Fix bug in the folding of quoted strings when flattening an email message using a modern email policy. Previously when a quoted string was folded so that it spanned more than one line, the surrounding quotes and internal escapes would be omitted. This could theoretically be used to spoof header lines using a carefully constructed quoted string if the resulting rendered email was transmitted or re-parsed.</li></ul> <aside class="onebox allowlistedgeneric" data-onebox-src="https://www.python.org/downloads/release/python-3923/"><a href="https://www.python.org/downloads/release/python-3923">https://www.python.org/downloads/release/python-3923</a><div class="onebox-metadata"> </div> <br /></aside> <h1 style="text-align: left;">Stay safe and upgrade!</h1> <p>As always, upgrading is highly recommended to all users of affected versions.</p> <h1 style="text-align: left;">Enjoy the new releases</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organization contributions to the Python Software Foundation.</p> <p>Regards from your very <s>tired</s> tireless release team,<br /> Thomas Wouters <br /> Pablo Galindo Salgado <br /> Łukasz Langa <br /> Ned Deily <br /> Steve Dower <br /></p>Thomas Woutershttp://www.blogger.com/profile/10346112333332923135noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-89710551255077019012025-05-26T15:35:00.002-04:002025-05-26T15:40:46.319-04:00Python 3.14.0 beta 2 is here!<p>Here’s the second 3.14 beta.</p> <p><a href="https://www.python.org/downloads/release/python-3140b2/" class="uri">https://www.python.org/downloads/release/python-3140b2/</a></p> <p><strong>This is a beta preview of Python 3.14</strong></p> <p>Python 3.14 is still in development. This release, 3.14.0b2, is the second of four planned beta releases.</p> <p>Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.</p> <p>We <strong><em>strongly encourage</em></strong> maintainers of third-party Python projects to <strong><em>test with 3.14</em></strong> during the beta phase and report issues found to <a href="https://github.com/python/cpython/issues">the Python bug tracker</a> as soon as possible. While the release is planned to be feature-complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Tuesday 2025-07-22). Our goal is to have <strong><em>no ABI changes</em></strong> after beta 4 and as few code changes as possible after the first release candidate. To achieve that, it will be <strong><em>extremely important</em></strong> to get as much exposure for 3.14 as possible during the beta phase.</p> <p>This includes creating pre-release wheels for 3.14, as it helps other projects to do their own testing. However, we recommend that your regular production releases wait until 3.14.0rc1, to avoid the risk of ABI breaks.</p> <p>Please keep in mind that this is a preview release and its use is <strong><em>not</em></strong> recommended for production environments.</p> <h1 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h1> <p>Some of the major new features and changes in Python 3.14 are:</p> <h2 id="new-features">New features</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep649">PEP 649</a>: The evaluation of type annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep750">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep758">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep768">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 and 8 are up to 40% faster.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep765">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep741">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#hmac">Builtin implementation of HMAC</a> with formally verified code from the HACL* project.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#asyncio-introspection-capabilities">new command-line interface</a> to inspect running Python processes using asynchronous tasks.</li> <li>The pdb module now supports <a href="https://docs.python.org/3.14/whatsnew/3.14.html#remote-attaching-to-a-running-python-process-with-pdb">remote attaching to a running Python process</a>.</li> </ul> <p><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></p> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s new in Python 3.14</a>. The next pre-release of Python 3.14 will be 3.14.0b3, scheduled for 2025-06-17.</p> <h2 id="build-changes">Build changes</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep761">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-jit-compiler"><em>experimental</em> JIT compiler</a>.</li> </ul> <h2 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3.14/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-deprecated">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3.14/deprecations/index.html">pending deprecations</a></li> </ul> <h1 id="python-install-manager">Python install manager</h1> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or <a href="https://www.python.org/ftp/python/pymanager/">our FTP page</a>. See <a href="https://docs.python.org/3.14/using/windows.html">our documentation</a> for more information. The JSON file available for download below contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.14/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.14 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/">Help fund Python and its community</a></li> </ul> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>In 1897, the State of Indiana almost passed a bill defining <em>π</em> as 3.2.</p> <p>Of course, it’s not that simple.</p> <p>Edwin J. Goodwin, M.D., claimed to have come up with a solution to an ancient geometrical problem called squaring the circle, first proposed in Greek mathematics. It involves trying to draw a circle and a square with the same area, using only a compass and a straight edge. It turns out to be impossible because <em>π</em> is transcendental (and this had been proved just 13 years earlier by Ferdinand von Lindemann), but Goodwin fudged things so the value of <em>π</em> was 3.2 (his writings have included at least nine different values of <em>π</em>: including 4, 3.236, 3.232, 3.2325… and even 9.2376…).</p> <p>Goodwin had copyrighted his proof and offered it to the State of Indiana to use in their educational textbooks without paying royalties, provided they endorsed it. And so Indiana Bill No. 246 was introduced to the House on 18th January 1897. It was not understood and initially referred to the House Committee on Canals, also called the Committee on Swamp Lands. They then referred it to the Committee on Education, who duly recommended on 2nd February that “said bill do pass”. It passed its second reading on the 5th and the education chair moved that they suspend the constitutional rule that required bills to be read on three separate days. This passed 72-0, and the bill itself passed 67-0.</p> <p>The bill was referred to the Senate on 10th February, had its first reading on the 11th, and was referred to the Committee on Temperance, whose chair on the 12th recommended “that said bill do pass”.</p> <p>A mathematics professor, <a href="https://www.biodiversitylibrary.org/page/14641808#page/455/mode/1up">Clarence Abiathar Waldo</a>, happened to be in the State Capitol on the day the House passed the bill and walked in during the debate to hear an ex-teacher argue:</p> <blockquote> <p>The case is perfectly simple. If we pass this bill which establishes a new and correct value for pi , the author offers to our state without cost the use of his discovery and its free publication in our school text books, while everyone else must pay him a royalty.</p> </blockquote> <p>Waldo ensured the senators were “properly coached”; and on the 12th, during the second reading, after an unsuccessful attempt to amend the bill it was postponed indefinitely. But not before the senators had some fun.</p> <p>The Indiana News reported on the 13th:</p> <blockquote> <p>…the bill was brought up and made fun of. The Senators made bad puns about it, ridiculed it and laughed over it. The fun lasted half an hour. Senator Hubbell said that it was not meet for the Senate, which was costing the State $250 a day, to waste its time in such frivolity. He said that in reading the leading newspapers of Chicago and the East, he found that the Indiana State Legislature had laid itself open to ridicule by the action already taken on the bill. He thought consideration of such a proposition was not dignified or worthy of the Senate. He moved the indefinite postponement of the bill, and the motion carried.</p> </blockquote> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from Helsinki, still light at 10pm,</p> <p>Your release team, <br>Hugo van Kemenade<br>Ned Deily<br>Steve Dower<br>Łukasz Langa</p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.comtag:blogger.com,1999:blog-3941553907430899163.post-78658096907786710942025-05-07T13:34:00.003-04:002025-05-09T05:08:04.844-04:00Python 3.14.0 beta 1 is here!<p>Only one day late, welcome to the first beta!</p> <p><a href="https://www.python.org/downloads/release/python-3140b1/" class="uri">https://www.python.org/downloads/release/python-3140b1/</a></p> <p><strong>This is a beta preview of Python 3.14</strong></p> <p>Python 3.14 is still in development. This release, 3.14.0b1, is the first of four planned beta releases.</p> <p>Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.</p> <p>We <strong><em>strongly encourage</em></strong> maintainers of third-party Python projects to <strong><em>test with 3.14</em></strong> during the beta phase and report issues found to <a href="https://github.com/python/cpython/issues">the Python bug tracker</a> as soon as possible. While the release is planned to be feature-complete entering the beta phase, it is possible that features may be modified or, in rare cases, deleted up until the start of the release candidate phase (Tuesday 2025-07-22). Our goal is to have <strong><em>no ABI changes</em></strong> after beta 4 and as few code changes as possible after the first release candidate. To achieve that, it will be <strong><em>extremely important</em></strong> to get as much exposure for 3.14 as possible during the beta phase.</p> <p>Please keep in mind that this is a preview release and its use is <strong><em>not</em></strong> recommended for production environments.</p> <h1 id="major-new-features-of-the-3.14-series-compared-to-3.13">Major new features of the 3.14 series, compared to 3.13</h1> <p>Some of the major new features and changes in Python 3.14 are:</p> <h2 id="new-features">New features</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep649">PEP 649</a>: The evaluation of type annotations is now deferred, improving the semantics of using annotations.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep750">PEP 750</a>: Template string literals (t-strings) for custom string processing, using the familiar syntax of f-strings.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep784">PEP 784</a>: A new module <code>compression.zstd</code> providing support for the Zstandard compression algorithm.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep758">PEP 758</a>: <code>except</code> and <code>except*</code> expressions may now omit the brackets.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pyrepl-highlighting">Syntax highlighting in PyREPL</a>, and support for color in <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-unittest">unittest</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-argparse">argparse</a>, <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-json">json</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-color-calendar">calendar</a> CLIs.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep768">PEP 768</a>: A zero-overhead external debugger interface for CPython.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#uuid">UUID versions 6-8</a> are now supported by the <code>uuid</code> module, and generation of versions 3-5 and 8 are up to 40% faster.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep765">PEP 765</a>: Disallow <code>return</code>/<code>break</code>/<code>continue</code> that exit a <code>finally</code> block.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep741">PEP 741</a>: An improved C API for configuring Python.</li> <li>A <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-tail-call">new type of interpreter</a>. For certain newer compilers, this interpreter provides significantly better performance. Opt-in for now, requires building from source.</li> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#improved-error-messages">Improved error messages.</a></li> <li>Builtin implementation of HMAC with formally verified code from the HACL* project.</li> </ul> <p><small>(Hey, <strong>fellow core developer,</strong> if a feature you find important is missing from this list, let Hugo know.)</small></p> <p>For more details on the changes to Python 3.14, see <a href="https://docs.python.org/3.14/whatsnew/3.14.html">What’s new in Python 3.14</a>. The next pre-release of Python 3.14 will be 3.14.0b2, scheduled for 2025-05-27.</p> <h2 id="build-changes">Build changes</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-pep761">PEP 761</a>: Python 3.14 and onwards no longer provides PGP signatures for release artifacts. Instead, Sigstore is recommended for verifiers.</li> <li>Official macOS and Windows release binaries include an <a href="https://docs.python.org/3.14/whatsnew/3.14.html#whatsnew314-jit-compiler"><em>experimental</em> JIT compiler</a>.</li> </ul> <h2 id="incompatible-changes-removals-and-new-deprecations">Incompatible changes, removals and new deprecations</h2> <ul> <li><a href="https://docs.python.org/3.14/whatsnew/3.14.html#incompatible-changes">Incompatible changes</a></li> <li>Python <a href="https://docs.python.org/3.14/whatsnew/3.14.html#removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#deprecated">deprecations</a></li> <li>C API <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-removed">removals</a> and <a href="https://docs.python.org/3.14/whatsnew/3.14.html#c-api-deprecated">deprecations</a></li> <li>Overview of all <a href="https://docs.python.org/3.14/deprecations/index.html">pending deprecations</a></li> </ul> <h1 id="python-install-manager">Python install manager</h1> <p>The installer we offer for Windows is being replaced by our new install manager, which can be installed from <a href="https://apps.microsoft.com/detail/9NQ7512CXL7T">the Windows Store</a> or <a href="https://www.python.org/ftp/python/pymanager/">our FTP page</a>. See <a href="https://docs.python.org/3.14/using/windows.html">our documentation</a> for more information. The <a href="https://www.python.org/ftp/python/3.14.0/windows-3.14.0b1.json">JSON file available for download</a> contains the list of all the installable packages available as part of this release, including file URLs and hashes, but is not required to install the latest release. The traditional installer will remain available throughout the 3.14 and 3.15 releases.</p> <h1 id="more-resources">More resources</h1> <ul> <li><a href="https://docs.python.org/3.14/">Online documentation</a></li> <li><a href="https://peps.python.org/pep-0745/">PEP 745</a>, 3.14 Release Schedule</li> <li>Report bugs at <a href="https://github.com/python/cpython/issues">github.com/python/cpython/issues</a></li> <li><a href="https://www.python.org/psf/donations/">Help fund Python and its community</a></li> </ul> <h1 id="note">Note</h1> <p>During the release process, we discovered a test that only failed when run sequentially and only when run after a certain number of other tests. This appears to be a problem with the test itself, and we will make it more robust for beta 2. For details, see <a href="https://github.com/python/cpython/issues/133532">python/cpython#133532</a>.</p> <h1 id="and-now-for-something-completely-different">And now for something completely different</h1> <p>The mathematical constant pi is represented by the Greek letter <em>π</em> and represents the ratio of a circle’s circumference to its diameter. The first person to use <em>π</em> as a symbol for this ratio was Welsh self-taught mathematician William Jones in 1706. He was a farmer’s son born in Llanfihangel Tre’r Beirdd on Angelsy (Ynys Môn) in 1675 and only received a basic education at a local charity school. However, the owner of his parents’ farm noticed his mathematical ability and arranged for him to move to London to work in a bank.</p> <p>By age 20, he served at sea in the Royal Navy, teaching sailors mathematics and helping with the ship’s navigation. On return to London seven years later, he became a maths teacher in coffee houses and a private tutor. In 1706, Jones published <em>Synopsis Palmariorum Matheseos</em> which used the symbol <em>π</em> for the ratio of a circle’s circumference to diameter (hunt for it on pages <a href="https://archive.org/details/SynopsisPalmariorumMatheseosOrANewIntroductionToTheMathematics/page/n261/mode/1up?view=theater">243</a> and <a href="https://archive.org/details/SynopsisPalmariorumMatheseosOrANewIntroductionToTheMathematics/page/n283/mode/1up?view=theater">263</a> or <a href="https://commons.wikimedia.org/wiki/File:Synopsis_Palmariorum_Matheseos_pi.jpg">here</a>). Jones was also the first person to realise <em>π</em> is an irrational number, meaning it can be written as decimal number that goes on forever, but cannot be written as a fraction of two integers.</p> <p>But why <em>π</em>? It’s thought Jones used the Greek letter <em>π</em> because it’s the first letter in <em>perimetron</em> or perimeter. Jones was the first to use <em>π</em> as our familiar ratio but wasn’t the first to use it in as part of the ratio. William Oughtred, in his 1631 <em>Clavis Mathematicae</em> (<em>The Key of Mathematics</em>), used <em>π/δ</em> to represent what we now call pi. His <em>π</em> was the circumference, not the ratio of circumference to diameter. James Gregory, in his 1668 <em>Geometriae Pars Universalis</em> (<em>The Universal Part of Geometry</em>) used <em>π/ρ</em> instead, where <em>ρ</em> is the radius, making the ratio 6.28… or <a href="https://www.tauday.com/"><em>τ</em></a>. After Jones, Leonhard Euler had used <em>π</em> for 6.28…, and also <em>p</em> for 3.14…, before settling on and popularising <em>π</em> for the famous ratio.</p> <h1 id="enjoy-the-new-release">Enjoy the new release</h1> <p>Thanks to all of the many volunteers who help make Python Development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the <a href="https://www.python.org/psf-landing/">Python Software Foundation</a>.</p> <p>Regards from Helsinki as the leaves begin to appear on the trees,</p> <p>Your release team, <br> <br> Hugo van Kemenade <br> Ned Deily <br> Steve Dower <br> Łukasz Langa</p> Hugohttp://www.blogger.com/profile/02811718172961252565noreply@blogger.com