Message209931
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:11 | ncoghlan | set | recipients:
+ ncoghlan, gregory.p.smith, steven.daprano, oscarbenjamin, wolma |
2014-02-02 01:21:11 | ncoghlan | set | messageid: <1391304071.38.0.177384686096.issue20479@psf.upfronthosting.co.za> |
2014-02-02 01:21:11 | ncoghlan | link | issue20479 messages |
2014-02-02 01:21:10 | ncoghlan | create | |
|