[GRASS-dev] [GRASS GIS] #1832: Python scripts are with mixed tabs and spaces

GRASS GIS trac at osgeo.org
Tue Apr 9 04:16:52 PDT 2013


#1832: Python scripts are with mixed tabs and spaces
-------------------------+--------------------------------------------------
 Reporter:  klo          |       Owner:  grass-dev@…              
     Type:  defect       |      Status:  new                      
 Priority:  normal       |   Milestone:  6.4.3                    
Component:  Python       |     Version:  unspecified              
 Keywords:  indent       |    Platform:  Unspecified              
      Cpu:  Unspecified  |  
-------------------------+--------------------------------------------------
Changes (by hamish):

  * keywords:  => indent


Comment:

 Replying to [ticket:1832 klo]:
 > Mixing tabs and spaces is not good idea:
 http://www.python.org/dev/peps/pep-0008/#tabs-or-spaces

 annoyingly, it asserts it is so but does not explain why. is it just that
 lots of people submit code after editing with braindead text editors, or
 is it something inherent in the python language which makes it so...?


 Hamish

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1832#comment:8>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list