terminato...@gmail.com wrote:

>[...]
>> The "def" line has four spaces.  The "for" line then has a hard tab.
>> This is ambiguous.  If the hard tab is assumed to have a width of four
>> spaces, then they are at the same indentation level.  If it is assumed
>> to have a width of eight spaces, then they are not.
>[...]
>
>The correct tab stop positions have always been at 8 character columns apart.
>The "ambiguity" was introduced by editors that do not follow the default value 
>set in hardware like printers or used by consoles and terminal emulators.
>
>And now python forces me out of using any tab characters at all. I believe I 
>should still have a choice, python should at lest give an option to set tab 
>size, if the default of 8 is ambiguous now.

You know the Unix command 'expand'? If you used tabs representing eight 
columns consequently, use expand on your python scripts to convert tabs 
to spaces before running them.



Best regards,

Günther
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to