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 rhettinger
Recipients ezio.melotti, michael.foord, rhettinger
Date 2010-11-04.02:41:55
SpamBayes Score 0.008178048
Marked as misclassified No
Message-id <1288838517.53.0.545343816427.issue10242@psf.upfronthosting.co.za>
In-reply-to
Content
One nuance, it may be better to implement as:

     a_cnt = collections.Counter(iter(a))
     b_cnt = collections.Counter(iter(b))

That will bypass the special handling the Counter constructor has if the  argument is a Mapping.
History
Date User Action Args
2010-11-04 02:41:57rhettingersetrecipients: + rhettinger, ezio.melotti, michael.foord
2010-11-04 02:41:57rhettingersetmessageid: <1288838517.53.0.545343816427.issue10242@psf.upfronthosting.co.za>
2010-11-04 02:41:56rhettingerlinkissue10242 messages
2010-11-04 02:41:55rhettingercreate