Re: Self-referential objects (was Re: more on splitfields)

Lou Kates (louk@research.teleride.on.ca)
Thu, 20 Aug 1992 00:07:01 -0400

>
> > ...
> > While we are on the topic of infinite loops in library
> > functions/methods the following will also cause infinite looping:
> >
> > a = [2, 'abc']
> > a.append(a)
> >
>
> Works fine for me, Lou:
>
> Python 0.9.6 (>= 1 Jan 1992).
> Copyright 1990, 1991, 1992 Stichting Mathematisch Centrum, Amsterdam
> >>> a = [2,'abc']
> >>> a.append(a)

The version of Python that I have is 0.9.1. Evidently there is a difference
between the two versions.

Lou Kates, louk@research.teleride.on.ca