newbie: comparing mutually recursive lists
Aahz Maruch
aahz at netcom.com
Wed Sep 29 18:57:17 EDT 1999
In article <37F22275.3E4FACB2 at psn.net>,
Andrew Hutcheson <hutch at psn.net> wrote:
>If I create a pair of mutually recursive lists like
>
> a,b=[],[]
> a.append(b)
> b.append(a)
>
>and try to compare them I get a segmentation fault. I'm using the
>version of Python that comes with Debian 2.1 (Python 1.5.1 (#1, Dec 17
>1998, 20:58:15) [GCC 2.7.2.3] on linux2 ). Does anyone know if this
>problem has been fixed? Failing that, can anyone suggest a workaround?
FYI, I get it on 1.5.2 on Solaris 2.5.1.
--
--- Aahz (@netcom.com)
Androgynous poly kinky vanilla queer het <*> http://www.rahul.net/aahz/
Hugs and backrubs -- I break Rule 6 (if you want to know, do some research)
More information about the Python-list
mailing list