[Python-Dev] Should collections.Counter check for int? (original) (raw)
Hagen Fürstenau hfuerstenau at gmx.net
Sat May 16 11:58:16 CEST 2009
- Previous message: [Python-Dev] Should collections.Counter check for int?
- Next message: [Python-Dev] python -m test.regrtest should pass on an installed python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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.
Done: http://bugs.python.org/issue6038
- Hagen
- Previous message: [Python-Dev] Should collections.Counter check for int?
- Next message: [Python-Dev] python -m test.regrtest should pass on an installed python
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]