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 georg.brandl
Recipients Richard.Neill, eric.smith, georg.brandl, r.david.murray
Date 2013-10-29.06:57:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1383029861.18.0.664817645727.issue19427@psf.upfronthosting.co.za>
In-reply-to
Content
This specialized use case has no chance of being added to the very general dict object.

But have a look at the collections.Counter class which does exactly what you propose for positive values and the +/- operations.
History
Date User Action Args
2013-10-29 06:57:41georg.brandlsetrecipients: + georg.brandl, eric.smith, r.david.murray, Richard.Neill
2013-10-29 06:57:41georg.brandlsetmessageid: <1383029861.18.0.664817645727.issue19427@psf.upfronthosting.co.za>
2013-10-29 06:57:41georg.brandllinkissue19427 messages
2013-10-29 06:57:40georg.brandlcreate