Cherniavsky Beni b...@google.com added the comment:
Mark: customizing tabs to be anything but 8 spaces is inadvisable with Python,
because Python always parses them as 8.
Sooner or later one would mix tabs and spaces and the result would be really
painful to debug.
--
nosy: +cben
Changes by Tal Einat talei...@gmail.com:
--
nosy: -taleinat
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8285
___
___
Python-bugs-list mailing
Terry J. Reedy tjre...@udel.edu added the comment:
The current indentation is a consequent of using tabs for indents.
Changing that is the subject of #7676.
#1196946 is a similar issue.
--
nosy: +terry.reedy
resolution: - duplicate
status: open - closed
superseder: - IDLE shell
Mark Dickinson dicki...@gmail.com added the comment:
I don't think this is specific to IDLE; it also happens when launching the
python interpreter directly from a terminal on OS X or Linux. (BTW, what
platform are you on?)
As far as I can tell, the TAB character is simply advancing to the
Tofystedeth nanc...@gmail.com added the comment:
You're right, it also does it when I use the Python shell from the command
prompt. I'm running Windows Vista 32bit SP2.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8285
Changes by Terry J. Reedy tjre...@udel.edu:
--
nosy: -terry.reedy
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8285
___
___
Python-bugs-list
Changes by Mark Lawrence breamore...@yahoo.co.uk:
--
nosy: +taleinat, terry.reedy
stage: - needs patch
versions: +Python 2.7, Python 3.1, Python 3.2 -Python 2.6
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue8285
Changes by Tofystedeth nanc...@gmail.com:
--
components: IDLE
nosy: Tofystedeth
severity: normal
status: open
title: IDLE not smart indenting correctly in nested statements
versions: Python 2.6
___
Python tracker rep...@bugs.python.org
New submission from Tofystedeth nanc...@gmail.com:
huh, somehow I submitted this before I was done, sorry bout that.
IDLE (the shell, not the text editor) doubles the indentation when in nested
statements.
For instance
while True:
while True:
while True:
becomes
while True: