Lawrence D'Oliveiro wrote:
In message
<[EMAIL PROTECTED]>, Matimus
wrote:


On Jul 24, 9:32 pm, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:


In message
<[EMAIL PROTECTED]>,
Matimus wrote:


On Jul 24, 2:54 am, Lawrence D'Oliveiro <[EMAIL PROTECTED]
central.gen.new_zealand> wrote:

In message
<[EMAIL PROTECTED]>,

Matimus wrote:

That isn't the standard. With that setup tabs will show up as 4
spaces, and still confuse you.

Why should that be confusing? The most common tab-stop setting is 4
columns.

A tab character is specified as 8 spaces.

Specified by whom? The most common setting these days is 4 columns.

All argument about specification aside, Python interprets a tab
character as equivalent to 8 spaces. If you are treating tabs as
equivalent to 4 spaces in your python code it will cause
IndentationError exceptions to be raised.


I have Emacs configured to show tabs as 4 columns wide, and I've never had
such an exception happen in my Python code as a result.

I have no Emacs experience -- does it actually put tabs in the file, or spaces?

~Ethan~
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to