Python.org published the first beta preview of Python 3.12 on May 22, 2023. The project described beta releases as a chance for the wider community to test features and fixes and prepare for the new feature series. It urged third-party project maintainers to test against 3.12 and report issues, while stressing that this preview was not recommended for production. [story-s1]

The announcement presented the beta as a period of active evaluation, not a final contract. Although feature-complete entry into beta was the plan, features could still change or—in rare cases—be removed before release-candidate work began. The project also aimed to avoid ABI changes after beta 4 and minimize code changes after the first release candidate. That made early compatibility testing useful, but not a reason to treat beta behavior as settled. [story-s1]

The listed changes ranged from more flexible f-string parsing and new generic type-annotation syntax to removal of deprecated modules including smtpd and distutils. The page noted that setuptools continued to provide distutils in virtual environments and many other settings. It also flagged a less obvious compatibility concern: the changed internal integer representation could affect Cython-generated code, even though most users were not expected to notice it. The practical message was specific: test integrations now, and keep production on a stable release. [story-s1]

Source documents

  1. Python Release Python 3.12.0b1 | Python.orghttps://www.python.org/downloads/release/python-3120b1/