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`, which 
was described as a serious bug in issue27081.

----------
components: Interpreter Core
messages: 270405
nosy: benjamin.peterson, brett.cannon, georg.brandl, ncoghlan, ppperry, 
serhiy.storchaka, yselivanov
priority: normal
severity: normal
status: open
title: SystemError when compiling deeply nested for loops
type: behavior
versions: Python 2.7

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

Reply via email to