commit | 226a012d1cd61f42ecd3056c554922f359a1a35d | [log] [tgz] |
---|---|---|
author | Brandt Bucher <brandtbucher@gmail.com> | Fri Dec 04 19:45:57 2020 -0800 |
committer | GitHub <noreply@github.com> | Fri Dec 04 19:45:57 2020 -0800 |
tree | 86407049a5d2c22b0ce8626407ca106eb3c26afd | |
parent | 2de5097ba4c50eba90df55696a7b2e74c93834d4 [diff] |
bpo-42536: GC track recycled tuples (GH-23623) Several built-in and standard library types now ensure that their internal result tuples are always tracked by the garbage collector: - collections.OrderedDict.items - dict.items - enumerate - functools.reduce - itertools.combinations - itertools.combinations_with_replacement - itertools.permutations - itertools.product - itertools.zip_longest - zip Previously, they could have become untracked by a prior garbage collection.