id summary reporter owner description type status priority milestone component resolution keywords cc merged author reviewer upstream work_issues branch commit dependencies stopgaps
10800 typo in Sequence D.S. McNeil Jason Grout "If you try to hash a mutable sequence, Sage complains that immutable sequences are unhashable..
{{{
sage: a = Sequence([1,2,3])
sage: hash(a)
---------------------------------------------------------------------------
ValueError Traceback (most recent call last)
/Applications/sage_devel/ in ()
/Applications/sage/local/lib/python2.6/site-packages/sage/structure/sequence.pyc in __hash__(self)
517 """"""
518 if not self._is_immutable:
--> 519 raise ValueError, ""immutable sequences are unhashable""
520 if self.__hash is None:
521 self.__hash = hash(tuple(self))
ValueError: immutable sequences are unhashable
}}}
which is backwards; immutable sequences are the only ones that are hashable.
" defect closed trivial sage-4.7 misc fixed sage-4.7.alpha1 Douglas McNeil André Apitzsch N/A