[issue1612] infinite recursion when using collections.Sequence in a recursive function (Py30a2)

Guido van Rossum report at bugs.python.org
Thu Dec 13 18:31:03 CET 2007


Guido van Rossum added the comment:

The bug is in your code; a string is considered a sequence but its
elements are also strings (of length 1).

----------
nosy: +gvanrossum
resolution:  -> invalid
status: open -> closed

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1612>
__________________________________


More information about the Python-bugs-list mailing list