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 ncoghlan
Recipients gregory.p.smith, ncoghlan, oscarbenjamin, steven.daprano, wolma
Date 2014-02-02.01:21:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Issue 20478 suggests ensuring that even weight/frequency mappings like collections.Counter are consistently handled as iterables in the current statistics module API.

However, it likely makes sense to provide public APIs that support efficiently working with such weight/frequency mappings directly, rather than requiring that they be expanded to a full iterable all the time.

One possibility would be to provide parallel APIs with the _map suffix, similar to the format() vs format_map() distinction in the string formatting APIs.
Date User Action Args
2014-02-02 01:21:11ncoghlansetrecipients: + ncoghlan, gregory.p.smith, steven.daprano, oscarbenjamin, wolma
2014-02-02 01:21:11ncoghlansetmessageid: <>
2014-02-02 01:21:11ncoghlanlinkissue20479 messages
2014-02-02 01:21:10ncoghlancreate