[Python-bugs-list] [ python-Bugs-700827 ] Compiler Limits (indentation)

SourceForge.net noreply@sourceforge.net
Mon, 16 Jun 2003 21:06:51 -0700


Bugs item #700827, was opened at 2003-03-10 08:43
Message generated for change (Comment added) made by blunck2
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=700827&group_id=5470

Category: Documentation
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Two Inches (twoinches)
Assigned to: Nobody/Anonymous (nobody)
Summary: Compiler Limits (indentation)

Initial Comment:
The reference manual does not mention the indentation
limits of compiler implementations.

Suggestion: In section 2.1.7 Indentation add the
following at the end of the section:

Implementations may explicity limit the maximum
indentation level. 

For CPython check tokenizer.h for build specifics
(default value is set to 100). 
For Jython check
org.python.parser.PythonGrammerTokenManager (default
value is set to 20).

----------------------------------------------------------------------

Comment By: Christopher Blunck (blunck2)
Date: 2003-06-16 23:06

Message:
Logged In: YES 
user_id=531881

see bug 755683

http://www.python.org/sf/755683

-c

----------------------------------------------------------------------

Comment By: Two Inches (twoinches)
Date: 2003-06-08 16:51

Message:
Logged In: YES 
user_id=730363

Agreed. 

----------------------------------------------------------------------

Comment By: Brett Cannon (bcannon)
Date: 2003-06-08 16:30

Message:
Logged In: YES 
user_id=357491

I have no issue adding a comment that the indentation level is 
not infinite, but I don't think it should be mentioned where to 
find it since the reference manual is for the language and not 
any specific implementation.

Anyone else agree?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=700827&group_id=5470