[issue25478] Consider adding a normalize() method to collections.Counter()

SilentGhost report at bugs.python.org
Mon Sep 12 04:36:08 EDT 2016


SilentGhost added the comment:

Floats are also not fully supported by the Counter class, for example,
sorted(Counter(a=1.0).elements()) results in TypeError.

----------
nosy: +SilentGhost

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25478>
_______________________________________


More information about the Python-bugs-list mailing list