[issue1733184] slice type is unhashable

Alexander Belopolsky report at bugs.python.org
Mon Mar 24 18:29:22 CET 2008


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

I hate to flip-flop like this, but please consider my new
arguments at issue2268.  In short, slices being unhashable
prevents storing them in the code object's const dictionary
and thus prevents optimizing code involving const slices.

Unless I hear strong opposition from the bug tracker forum,
I plan to present some ideas on python-dev on how to make
slices hashable while not enabling d[:].

_____________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1733184>
_____________________________________


More information about the Python-bugs-list mailing list