Issue 2688: Error when nesting many while loops (original) (raw)

Created on 2008-04-25 12:10 by rgreimel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg65778 - (view) Author: Robert Greimel (rgreimel) Date: 2008-04-25 12:10
nesting 20 while loops works OK. The 21st leads to the cryptic error message python: Python/compile.c:295: PyAST_Compile: Assertion `co | PyErr_Occurred()' failed. Abort when trying to execute the script.
msg65779 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-04-25 12:43
Apparently this was fixed at rev 52504 python-trunk. Which python version did you use ?
msg65780 - (view) Author: Robert Greimel (rgreimel) Date: 2008-04-25 13:04
Python 2.5 (r25:51908, Nov 6 2007, 15:55:44) from Fedora 7 (python-2.5-15.fc7)
msg70581 - (view) Author: Jack Diederich (jackdied) * (Python committer) Date: 2008-08-01 18:30
This was fixed in more recent versions of 2.5, it now raises a "SystemError: too many statically nested blocks" Thanks for the tip Guilherme. Marking closed.
History
Date User Action Args
2022-04-11 14:56:33 admin set github: 46940
2008-08-01 18:30:39 jackdied set status: open -> closedresolution: out of datemessages: + nosy: + jackdied
2008-04-25 13:04:15 rgreimel set messages: +
2008-04-25 12:43:55 gpolo set nosy: + gpolomessages: +
2008-04-25 12:10:56 rgreimel create