summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Core and Builtins/2018-05-23-20-46-14.bpo-33622.xPucO9.rst
blob: e589b45032293f8180ed4a699efbc02b9934e912 (plain)
1
2
3
4
Fixed a leak when the garbage collector fails to add an object with the
``__del__`` method or referenced by it into the :data:`gc.garbage` list.
:c:func:`PyGC_Collect` can now be called when an exception is set and
preserves it.