This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Compiler Limits (indentation)
Type: Stage:
Components: Documentation Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: blunck2, brett.cannon, loewis, twoinches
Priority: normal Keywords:

Created on 2003-03-10 13:43 by twoinches, last changed 2022-04-10 16:07 by admin. This issue is now closed.

Messages (5)
msg15062 - (view) Author: Two Inches (twoinches) Date: 2003-03-10 13:43
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).
msg15063 - (view) Author: Brett Cannon (brett.cannon) * (Python committer) Date: 2003-06-08 21:30
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?
msg15064 - (view) Author: Two Inches (twoinches) Date: 2003-06-08 21:51
Logged In: YES 
user_id=730363

Agreed. 
msg15065 - (view) Author: Christopher Blunck (blunck2) Date: 2003-06-17 04:06
Logged In: YES 
user_id=531881

see bug 755683

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

-c
msg15066 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2003-06-21 13:40
Logged In: YES 
user_id=21627

Fixed in ref2.tex 1.48.
History
Date User Action Args
2022-04-10 16:07:31adminsetgithub: 38136
2003-03-10 13:43:49twoinchescreate