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 <1391304071.38.0.177384686096.issue20479@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2014-02-02 01:21:11ncoghlansetrecipients: + ncoghlan, gregory.p.smith, steven.daprano, oscarbenjamin, wolma
2014-02-02 01:21:11ncoghlansetmessageid: <1391304071.38.0.177384686096.issue20479@psf.upfronthosting.co.za>
2014-02-02 01:21:11ncoghlanlinkissue20479 messages
2014-02-02 01:21:10ncoghlancreate