IndentationError: two many levels of indentation

Two Inches missedby2inches at gmx.net
Sat Mar 8 10:55:45 EST 2003


Steve Holden wrote:

> The limit will be set by a configuration parameter. It would seem more
> sensible to me to alter your generation routines: is it *really* necessary
> to generate code indented to 500 levels? Isn't there some way you could
> paraphrase the generated Python so it doesn't require something that a real
> programmer would never do in practice?

As I said, it is no problem to change our generator. I just think that 
the limit should be mentioned in a somewhat more accesible place than 
the tokenizer's header files.





More information about the Python-list mailing list