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 veky
Recipients josh.r, mark.dickinson, pitrou, rhettinger, veky, wolma
Date 2017-03-14.15:10:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1489504239.56.0.119011690628.issue25478@psf.upfronthosting.co.za>
In-reply-to
Content
That seems horribly arbitrary to me, not to mention inviting another intdiv fiasco (from sanity import division:). If only Counter was committed to only working with integer values from start, it might be acceptable, but since Counter implementation was always careful not to preclude using Counter with nonint values, it wouldn't make sense.

Also, there is an interesting inconsistency then, in the form of

    c = Counter(a=5,b=5).normalize(5)

Presumably c.a and c.b would be equal integers, and their sum equal to 5. That is unfortunately not possible. :-o
History
Date User Action Args
2017-03-14 15:10:39vekysetrecipients: + veky, rhettinger, mark.dickinson, pitrou, wolma, josh.r
2017-03-14 15:10:39vekysetmessageid: <1489504239.56.0.119011690628.issue25478@psf.upfronthosting.co.za>
2017-03-14 15:10:39vekylinkissue25478 messages
2017-03-14 15:10:39vekycreate