This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients cool-RR, eric.smith, ethan.furman, josh.r, pitrou, r.david.murray, rhettinger, serhiy.storchaka, steven.daprano
Date 2014-10-01.17:18:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412183928.21.0.779307850059.issue22515@psf.upfronthosting.co.za>
In-reply-to
Content
> I'll go with +0.5.  :)

I was going to make a joke about Counters only accepting integral values, but the constructor is actually quite laxist:

>>> Counter({'a': 2.5})
Counter({'a': 2.5})
>>> Counter({'a': 2.5 + 1j})
Counter({'a': (2.5+1j)})
>>> Counter({'a': 'b'})
Counter({'a': 'b'})

(!)
History
Date User Action Args
2014-10-01 17:18:48pitrousetrecipients: + pitrou, rhettinger, eric.smith, steven.daprano, r.david.murray, cool-RR, ethan.furman, serhiy.storchaka, josh.r
2014-10-01 17:18:48pitrousetmessageid: <1412183928.21.0.779307850059.issue22515@psf.upfronthosting.co.za>
2014-10-01 17:18:48pitroulinkissue22515 messages
2014-10-01 17:18:48pitroucreate