2 min

Tags in this article


Python 3.10 beta review has been released to test the bug fixes and added features to support the next release. This is the second last beta release, making it integral to the success of the final version.

Python 3.10 beta preview

The Python version 3.10 is still in progress, but its preview number three of four is ready for beta testing. The intentions behind these previews are to receive the support of the wider community and allow them the opportunity to test out the bug fixes and the new features.

New features in 3.10 in comparison to 3.9

The complete features for 3.10 are still in the process of planning and writing. However, the new changes and features introduced thus far are:

  • PEP 623 – Deprecate and prepare for the removal of the wstr member in PyUnicodeObject.
  • PEP 604 – Allow writing union types as X | Y
  • PEP 624 – Remove Py_UNICODE encoder APIs
  • PEP 597 – Add optional EncodingWarning
  • PEP 626 – Precise line numbers for debugging and other tools.
  • PEP 618 – Add Optional Length-Checking To zip
  • PEP 612 – Parameter Specification Variables
  • 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
  • bpo-12782: Parenthesized context managers are now officially allowed.
  • PEP 632 – Deprecate distutils module.
  • PEP 613 – Explicit Type Aliases

Things to keep in mind with this release

Python strongly encourages their third-party Python project maintainers to test this version during the beta phase to report issues to their site. The developers also state that during the beta review phase, some features can be modified. In some rare instances, they may also be deleted till the next beta review candidate is released.

This preview release is not recommended to be used in production environments. The next beta version, 3.10.0b4, will be released on the 10th of July, 2021.