New submission from ppperry:

The following code:
for a in range(26):
  for b in range(26):
   for c in range(26):
    for d in range(26):
     for e in range(26):
      for f in range(26):
       for g in range(26):
        for h in range(26):
         for i in range(26):
          for j in range(26):
           for k in range(26):
            for l in range(26):
             for m in range(26):
              for o in range(26):
               for p in range(26):
                for q in range(26):
                 for r in range(26):
                  for s in range(26):
                   for t in range(26):
                    for u in range(26):
                     for v in range(26):
                       for w in range(26):
                         pass

fails to compile with `SystemError: too many statically nested blocks` when 
typed in the standard interpreter.

When typed in an IDLE shell , pressing enter will not try to run the code, 
instead printing the SystemError to the console from which idle was started, 
instead of to the IDLE shell, which would be expected.

----------
components: IDLE, Interpreter Core
messages: 255358
nosy: ppperry
priority: normal
severity: normal
status: open
title: Idle does not handle non-standard compile errors
versions: Python 2.7

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue25733>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to