New submission from LukMak <lmako...@volt.iem.pw.edu.pl>: Execution: >>> l=[] >>> l.append(l) >>> l [[...]] >>> l[0] [[...]] >>> l[0][0][0] [[...]] >>> eval('l'+'[0]'*10) [[...]] >>> eval('l'+'[0]'*666) [[...]] >>> eval('l'+'[0]'*999999) Segmentation fault
Environment: 2.6.24-27-generic #1 SMP, Ubuntu 8.04.4 LTS, Both Python 2.5.2 from distro repo and Python 3.1.1 compiled by me. But crash seems to be platform and version independent. Comment: Should throw RuntimeError: maximum recursion depth exceeded instead of SIGSEGV? ---------- components: Interpreter Core messages: 99742 nosy: LukMak severity: normal status: open title: access to infinitely recursive list type: crash versions: Python 2.5, Python 3.1 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7985> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com