[Q] python vs checker.py maxlocals

Raymond Hettinger vze4rx4y at verizon.net
Thu Mar 27 00:32:55 EST 2003


<achrist at easystreet.com> wrote in message
news:3E82327F.CC04BDFB at easystreet.com...
> The static code analysis tool checker.py gives me a warning for
> using about 60 local variables in one function.  That seems to
> indicate a very low limit.  What is the number that python (v2.2
> on 32-bit Windows) will actually allow?

You can specify thousands of locals if you like
but it won't make your code easier to read.


Raymond Hettinger






More information about the Python-list mailing list