Issue 1565514: does not raise SystemError on too many nested blocks (original) (raw)

Issue1565514

Created on 2006-09-26 06:10 by ghazel, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
nested.py ghazel,2006-09-26 06:10 nested example
nest.diff nnorwitz,2006-09-27 04:45 v1
Messages (3)
msg29991 - (view) Author: Greg Hazel (ghazel) Date: 2006-09-26 06:10
Simple script attached, in python 2.4.3 I get reasonable results: C:\>.\python24\python.exe nested.py File "nested.py", line 22 while 22: SystemError: too many statically nested blocks C:\> However in python 2.5 I get nothing: C:\>.\python25\python.exe nested.py C:\> Shouldn't the same error be raised? (Note that it's not executing the file, or the prints would occur).
msg29992 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-09-27 04:45
Logged In: YES user_id=33168 The attached patch fixes the problem. I'm not so sure that the error should be a SystemError, but some exception should definitely be produced.
msg29993 - (view) Author: Neal Norwitz (nnorwitz) * (Python committer) Date: 2006-10-28 21:59
Logged In: YES user_id=33168 Committed revision 52510. (2.5) Committed revision 52504. (2.6)
History
Date User Action Args
2022-04-11 14:56:20 admin set github: 44030
2006-09-26 06:10:00 ghazel create