Python 3.14.5 Reverts to Old Garbage Collector

Python has released a corrective update for Python 3.14.5, addressing bugs, minor vulnerabilities, and reverting to the old garbage collector used before the 3.14.x branch. This decision comes after user complaints about increased memory consumption and memory leaks when migrating systems to the 3.14 branch. The change, unusual for intermediate releases, aims to improve user experience. For more information, you can access the published update here.

Additionally, the decision has been made not to implement the new garbage collector in the upcoming major release, Python 3.15, which recently entered beta testing. In Python 3.14, the incremental garbage collector replaced the cyclic garbage collector, optimizing the garbage collection process for long-lived objects. This change reduced the maximum suspension time for applications with a large number of objects in memory. More details on this can be found here.


/Reports, release notes, official announcements.