Message 201607 - Python tracker

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.

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.