how many nested for can we utilize?
Nick Dumas
drakonik at gmail.com
Sun Aug 17 10:20:45 EDT 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
A good quote I read (I can't remember who it was from, though) is "If
you need more than three levels of indentation, then something is
seriously wrong with your code." Possibly Guido himself? Anyway. If
you've got 100 levels of for, you're probably making things way harder
than they need to be.
Fredrik Lundh wrote:
> Patrol Sun wrote:
>
>> when I use 20 for ,"SystemError: too many statically nested blocks"
>> When I use 100 for ,"IndentationError: too many levels of indentation"
>> How to handle these errors?
>
> so why exactly are you trying to nest 20 or 100 for-in loops?
>
> </F>
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkioM70ACgkQLMI5fndAv9jBhgCeM5hjNaAtlDosJq1DSZyPnBcL
7NYAoKKwnSdR20YDGXvjpAP8KUWfw/rl
=PajF
-----END PGP SIGNATURE-----
More information about the Python-list
mailing list