Too Many if Statements?

Terry Reedy tjreedy at udel.edu
Tue Feb 7 17:51:27 EST 2006


"Bryan Olson" <fakeaddress at nowhere.org> wrote in message 
news:GU8Gf.22899$Jd.6095 at newssvr25.news.prodigy.net...
> I made a script with 100,000 if's, (code below) and it appears
> to work on a couple systems, including Python 2.4.2 on Win32-XP.
> So at first cut, it doesn't seem to be just the if-count that
> triggers the bug.

The OP did not specify whether all of his if-tests were sequential as in 
your test or if some were nested.  I vaguely remember there being an indent 
limit (40??).

tjr






More information about the Python-list mailing list