#13146: Removing tabs in .rst, .tex and .pxi files
-----------------------------+----------------------------------------------
       Reporter:  roed       |         Owner:  mvngu                      
           Type:  defect     |        Status:  needs_work                 
       Priority:  minor      |     Milestone:  sage-5.1                   
      Component:  doctest    |    Resolution:                             
       Keywords:             |   Work issues:                             
Report Upstream:  N/A        |     Reviewers:  Keshav Kini, André Apitzsch
        Authors:  David Roe  |     Merged in:                             
   Dependencies:             |      Stopgaps:                             
-----------------------------+----------------------------------------------

Comment (by kini):

 Another reason to avoid tab characters in .py files is because they can be
 confusing to anyone trying to read them with an editor whose tab stops are
 set to something other than 8 characters, if tabs and spaces are mixed
 (because indentation levels may appear to differ from what the python
 interpreter actually judges them to be). The python interpreter has a
 command line switch `-t` which issues warnings when such a condition
 exists, for example.

 reStructuredText, like Python code, is indentation-sensitive, and so tabs
 should be avoided in reStructuredText for the same reason they should be
 avoided in Python code. The same is true of .pxi files.

 Dunno why we're testing for tabs in .tex files, though.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/13146#comment:18>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to