[issue6038] Should collections.Counter check for int?

Raymond Hettinger report at bugs.python.org
Sun May 17 04:58:30 CEST 2009


Raymond Hettinger <rhettinger at users.sourceforge.net> added the comment:

No thanks.  I'm happy with the API as-is.  It is a consenting adult
tool, simply a dictionary that automatically fills-in missing values
with zero. 

There's no reason to slow it down to a crawl with integer checks at
every step.  Besides, there are some valid use cases with floating point
adjustments.

----------
resolution:  -> wont fix
status: open -> closed

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


More information about the Python-bugs-list mailing list