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 cool-RR, ezio.melotti, mrabarnett, rhettinger
Date 2011-04-05.20:44:16
SpamBayes Score 1.6254924e-06
Marked as misclassified No
Message-id <1302036258.96.0.235241641815.issue11775@psf.upfronthosting.co.za>
In-reply-to
Content
We could do that, but that's not the Python way :-)

Really, you should be posting recipes somewhere else to see if there is interest and uptake.  The tracker is not the right place to toss one random idea after another.

We need to place some value on API simplicity.  At its core, a Counter is just a dict with an __missing__ method to supply implied zeros.  Much of its ease of use, speed, and flexibility all derive from that basic design.  For the most part, the best thing that could happen to this API is to become stable and remain completely untouched.  I only added subtract() in Py3.2 because there was substantial demand for it; otherwise, all the other ideas for expansion were rejected.
History
Date User Action Args
2011-04-05 20:44:19rhettingersetrecipients: + rhettinger, ezio.melotti, mrabarnett, cool-RR
2011-04-05 20:44:18rhettingersetmessageid: <1302036258.96.0.235241641815.issue11775@psf.upfronthosting.co.za>
2011-04-05 20:44:16rhettingerlinkissue11775 messages
2011-04-05 20:44:16rhettingercreate