Python 3.10.0

    Release Date: Oct. 4, 2021

    Python 3.10 release logo

    This is the stable release of Python 3.10.0

    Python 3.10.0 is the newest major release of the Python programming language, and it contains many new features and optimizations.

    Major new features of the 3.10 series, compared to 3.9

    Among the new major new features and changes so far:

    • PEP 623 -- Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
    • PEP 604 -- Allow writing union types as X | Y
    • PEP 612 -- Parameter Specification Variables
    • PEP 626 -- Precise line numbers for debugging and other tools.
    • PEP 618 -- Add Optional Length-Checking To zip.
    • bpo-12782: Parenthesized context managers are now officially allowed.
    • PEP 632 -- Deprecate distutils module.
    • PEP 613 -- Explicit Type Aliases
    • PEP 634 -- Structural Pattern Matching: Specification
    • PEP 635 -- Structural Pattern Matching: Motivation and Rationale
    • PEP 636 -- Structural Pattern Matching: Tutorial
    • PEP 644 -- Require OpenSSL 1.1.1 or newer
    • PEP 624 -- Remove Py_UNICODE encoder APIs
    • PEP 597 -- Add optional EncodingWarning

    bpo-38605:from __future__ import annotations (PEP 563) used to be on this listin previous pre-releases but it has been postponed to Python 3.11 due to some compatibility concerns. You can read the Steering Council communication about ithere to learn more.

    bpo-44828: A change in the newly released macOS 12 Monterey caused file open and save windows inIDLE and othertkinter applications to be unusable. As of 2021-11-03, the macOS 64-bit universal2 installer file for this release was updated to include a fix in the third-partyTk library for this problem. All other files are unchanged from the original 3.10.0 installer. If you have already installed 3.10.0 from here and encounter this problem on macOS 12 Monterey, download and run the updated installer linked below.

    More resources

    And now for something completely different

    For a Schwarzschild black hole (a black hole with no rotation or electromagnetic charge), given a free fall particle starting at the eventhorizon, the maximum proper time (which happens when it falls without angular velocity) it will experience to fall into the singularityisπ*M (innatural units), where M is the mass of the black hole. For Sagittarius A* (theblack hole at the centre of the milky way) this time is approximately 1 minute.

    Schwarzschild black holes are also unique because they have a space-like singularity at their core, which means that the singularity doesn't happen at a specific point inspace but happens at a specific point intime (the future). This means once you are inside the event horizon you cannot point with your finger towards the direction the singularity is located because the singularity happens in your future: no matter where you move, you will "fall" into it.

    Full Changelog

    Files

    VersionOperating SystemDescriptionMD5 SumFile SizeGPG
    Gzipped source tarballSource release729e36388ae9a832b01cf9138921b38323.8 MBSIG
    XZ compressed source tarballSource release3e7035d272680f80e3ce4e8eb492d58017.9 MBSIG
    macOS 64-bit universal2 installermacOSfor macOS 10.9 and later (updated for macOS 12 Monterey)8575cc983035ea2f0414e25ce0289ab837.9 MBSIG
    Windows installer (64-bit)WindowsRecommendedc3917c08a7fe85db7203da6dcaa99a7027.0 MBSIG
    Windows installer (32-bit)Windows133aa48145032e341ad2a000cd3bff5025.9 MBSIG
    Windows help fileWindows9d7b80c1c23cfb2cecd63ac4fac9766e9.1 MBSIG
    Windows embeddable package (64-bit)Windows340408540eeff359d5eaf93139ab90fd8.1 MBSIG
    Windows embeddable package (32-bit)Windowsdc9d1abc644dd78f5e48edae38c7bc6b7.2 MBSIG