A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2009-May/089626.html below:

[Python-Dev] Should collections.Counter check for int?

[Python-Dev] Should collections.Counter check for int? [Python-Dev] Should collections.Counter check for int?Aahz aahz at pythoncraft.com
Thu May 14 04:22:35 CEST 2009
On Wed, May 13, 2009, Hagen F?rstenau wrote:
>
> I'd prefer Counter to refuse non-numerical values right away as the
> present behaviour may hide bugs (e.g. a forgotten string->int
> conversion). Any opinions? (And what about negative values or floats?)

Please file a report on bugs.python.org so that there's a record of this
issue.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

"It is easier to optimize correct code than to correct optimized code."
--Bill Harlan
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4