[issue2603] Make range __eq__ work
Alexander Belopolsky
report at bugs.python.org
Tue Apr 15 17:47:16 CEST 2008
Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:
The patch does not add unit tests for hash(range(..)). I would actually
test that hash(range(a,b,c)) == hash((a,b,c)) for various values of a,
b, and c.
A nit-pick: while I personally like the coding style with line breaks
before binary ops, python C style appears to be the opposite.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2603>
__________________________________
More information about the Python-bugs-list
mailing list