[Python-ideas] Pipe indentation

Antoine Pitrou solipsis at pitrou.net
Tue Dec 10 14:35:32 CET 2013


On Tue, 10 Dec 2013 14:21:07 +0900
"Stephen J. Turnbull" <stephen at xemacs.org>
wrote:
> Christopher Welborn writes:
> 
>  > Here's a link to a screen shot that shows Sublime Text's nesting level 
>  > lines:
> 
>  > http://imgur.com/yRGNCKu
> 
>  > ...a lot of editors do this, tab or space.
> 
> But do they get it Pythonically correct?  Ie, in counting indentation,
> 1 TAB = 1 SPC, regardless of what it looks like on screen.

Generally they're purely graphical, i.e. they don't care about the
*logical nesting* of your code, only about how many spaces are
drawn on screen.
(no, I don't know what it does with a non-monospaced font)

Regards

Antoine.




More information about the Python-ideas mailing list