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 scoder
Recipients cool-RR, eric.smith, ethan.furman, josh.r, pitrou, r.david.murray, rhettinger, scoder, serhiy.storchaka, steven.daprano
Date 2014-10-01.17:36:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1412184995.28.0.727278045005.issue22515@psf.upfronthosting.co.za>
In-reply-to
Content
I'd raise an exception whenever the values of the Counter turn out to be uncomparable. If users manage to fill Counters with non-number values that are comparable amongst each other, or even if each key has a value of a different type, why not just support that?

All that is really required for this is that you can compare a) keys for equality and b) values of identical keys for ordering, right?
History
Date User Action Args
2014-10-01 17:36:35scodersetrecipients: + scoder, rhettinger, pitrou, eric.smith, steven.daprano, r.david.murray, cool-RR, ethan.furman, serhiy.storchaka, josh.r
2014-10-01 17:36:35scodersetmessageid: <1412184995.28.0.727278045005.issue22515@psf.upfronthosting.co.za>
2014-10-01 17:36:35scoderlinkissue22515 messages
2014-10-01 17:36:35scodercreate