https://docs.python.org/3.8/whatsnew/changelog.html#python-3-8-0
Core and Builtins
-
bpo-38469: Fixed a bug where the scope of named expressions was not being resolved correctly in the presence of the global keyword. Patch by Pablo Galindo.
-
bpo-38379: When cyclic garbage collection (gc) runs finalizers that resurrect unreachable objects, the current gc run ends, without collecting any cyclic trash. However, the statistics reported by
collect()
andget_stats()
claimed that all cyclic trash found was collected, and that the resurrected objects were collected. Changed the stats to report that none were collected.