Tabs or Space-Tabs?

0 views
Skip to first unread message

Bryan Buschmann

unread,
Jan 16, 2009, 12:14:25 PM1/16/09
to Egg of P'an Ku-development
Hey, I ran into a little bit of an issue when I was modifying some of
the files for the xmlsettings transition. I kept getting an indent
error which apparently was being caused by spaces and tabs being mixed
inside the document. Are you using spaces or tabs in your editor? I
believe pydev for Eclipse is defaulting to tabs.

Paige Watson

unread,
Jan 16, 2009, 1:00:37 PM1/16/09
to eopk-dev...@googlegroups.com
Should be tabs.  I believe that is has to be tabs for Python.  I didn't think that you could use spaces.

Bryan Buschmann

unread,
Jan 16, 2009, 1:04:04 PM1/16/09
to eopk-dev...@googlegroups.com
From what I read, the parser will look at either "4 spaces" = tab or
tab = tab. But it gets really, really cranky when it finds both.

Paige Watson

unread,
Jan 16, 2009, 1:17:46 PM1/16/09
to eopk-dev...@googlegroups.com
oh, didn't know that.  Let's set the standard to be a tab.  That's what the code currently has.
Reply all
Reply to author
Forward
0 new messages