Nested loop limit?

Paul Rubin http
Sun Jul 11 22:56:59 CEST 2004

Dan Christensen <jdc at> writes:
> I've actually toyed with the idea of having the program generate the
> code (maybe in Python) on the fly, compile it (e.g. with psyco), and
> then run it.  But with Python's limit of 20 nested loops, that won't fly. 

Since I doubt you care very much about portability to lots of different
installations, maybe you could just recompile your copy of Python to use
a higher limit.

More information about the Python-list mailing list