Stefan Behnel added the comment:

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?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22515>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to