[issue4701] range objects becomes hashable after attribute access
Nick Coghlan
report at bugs.python.org
Sun Dec 28 13:28:29 CET 2008
Nick Coghlan <ncoghlan at gmail.com> added the comment:
enumerate can be added to the list of builtin types which isn't
initialised correctly, as can the callable+sentinel iterator return from
the 2-argument version of iter() and the default sequence iterator
returned by iter() when given a type with both __len__ and __getitem__
methods, but no __iter__ method.
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4701>
_______________________________________
More information about the Python-bugs-list
mailing list