Coredump: python 1.5.2

Robin Becker robin at jessikat.demon.co.uk
Thu Jul 8 05:08:08 EDT 1999


In article <19990708142614.A3595 at longford.cs.monash.edu.au>, Toby J
Sargeant <tjs at longford.cs.monash.edu.au> writes
>The following code causes a coredump under python 1.5.2
>
>class Stuffed:
>   def __getattr__(self,key):
>      print self
>
>print Stuffed()
>
...
this is actually a recursive call of print.
-- 
Robin Becker




More information about the Python-list mailing list