• Nick Coghlan's avatar
    Issue #20478: avoid special casing Counter in statistics · bfd68bf4
    Nick Coghlan authored
    Passing Counter objects to the Counter constructor is
    special cased, going through iter() firsts ensures they
    are handled the same way as any other iterable.
    
    (Committing on Steven's behalf as I don't believe his
    SSH key is registered yet)
    bfd68bf4
test_statistics.py 57.8 KB