A corrective release of the Python programming language 3.14.5 has been published, which, in addition to fixing bugs and minor vulnerabilities, has restored the old garbage collector that was used before the 3.14.x branch. User complaints about significant memory consumption increases after migrating systems to the 3.14 branch and the emergence of memory leaks are cited as reasons for this unusual significant change in an intermediate release.
In addition to reverting the new garbage collector in the 3.14 branch, it has been decided not to use it in the upcoming significant release 3.15, which recently entered beta testing. Recall that in the 3.14 branch, the cyclic garbage collector was replaced with an incremental one, in which garbage collection of long-lived objects is done in parts and less frequently than the processing of new generations of objects, which are usually freed more often, thereby significantly reducing the maximum pause time for applications with a very large number of objects in memory.

Allikas: opennet.ru
