[issue13423] Ranges cannot be meaningfully compared for equality or hashed

Chase Albert report at bugs.python.org
Fri Nov 18 10:36:58 CET 2011


New submission from Chase Albert <thaoeuns at gmail.com>:

My expectation was that range(2,5) == range(2,5), and that they should hash the same. This is not the case.

----------
messages: 147838
nosy: rob.anyone
priority: normal
severity: normal
status: open
title: Ranges cannot be meaningfully compared for equality or hashed
type: behavior
versions: Python 3.2

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13423>
_______________________________________


More information about the Python-bugs-list mailing list