Bugs item #1565514, was opened at 2006-09-25 23:10
Message generated for change (Comment added) made by nnorwitz
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1565514&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Parser/Compiler
Group: Python 2.5
>Status: Closed
>Resolution: Fixed
Priority: 5
Private: No
Submitted By: Greg Hazel (ghazel)
>Assigned to: Neal Norwitz (nnorwitz)
Summary: does not raise SystemError on too many nested blocks

Initial Comment:
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).

----------------------------------------------------------------------

>Comment By: Neal Norwitz (nnorwitz)
Date: 2006-10-28 14:59

Message:
Logged In: YES 
user_id=33168

Committed revision 52510. (2.5)
Committed revision 52504. (2.6)

----------------------------------------------------------------------

Comment By: Neal Norwitz (nnorwitz)
Date: 2006-09-26 21:45

Message:
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.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1565514&group_id=5470
_______________________________________________
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to