Why does Python have a limit on the number of static blocks that can be nested?
This limit not only applies to for loops, but to all other control flow blocks as well. The limit for the number of nested control flow blocks is defined inside of code.h with a constant named CO_MAXBLOCKS: #define CO_MAXBLOCKS 20 /* Max static block nesting within a function */ This constant is used to set … Read more