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 joern
Recipients joern, rhettinger, serhiy.storchaka
Date 2015-02-24.15:49:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1424792959.07.0.167295152397.issue23509@psf.upfronthosting.co.za>
In-reply-to
Content
cool

minor question:
- in the given patch __add__ uses __iadd__, but __sub__ doesn't use __isub__, which seems a bit weird.

maybe off-topic, but maybe not, because of _keep_positive(self):
- is there place for a non multi-set centric "Stats" object which is like Counter but with + and - actually behaving without the (in my use cases of Counter often counter intuitive) "> 0" stuff? (pun intended ;) ) Counter feels like a sub-class of Stats with the added _keep_positive(self).
History
Date User Action Args
2015-02-24 15:49:19joernsetrecipients: + joern, rhettinger, serhiy.storchaka
2015-02-24 15:49:19joernsetmessageid: <1424792959.07.0.167295152397.issue23509@psf.upfronthosting.co.za>
2015-02-24 15:49:19joernlinkissue23509 messages
2015-02-24 15:49:18joerncreate