This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Title: IDLE does not Transform Tabs into Spaces in Interactive Mode
Type: Stage: resolved
Components: IDLE Versions: Python 3.8
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: Alex-Python-Programmer, epaine, terry.reedy
Priority: normal Keywords:

Created on 2020-10-06 10:55 by Alex-Python-Programmer, last changed 2022-04-11 14:59 by admin. This issue is now closed.

Messages (3)
msg378112 - (view) Author: Alex (Alex-Python-Programmer) Date: 2020-10-06 10:55
In Python I usually find the problem like this.
>>> for i in range(10):
	#some code
In edit mode, IDLE will automatically transform tabs into spaces.
But in interactive mode, IDLE won't do the same.
The same problem have been reported in some other forums as far as I know.
I don't know how the problem is caused. However, we shoule look at this problem carefully, until we solve it.
msg378122 - (view) Author: E. Paine (epaine) * Date: 2020-10-06 13:12
This has been an issue for a *long* time (issue 7676). Hopefully, the merging of #37903 will allow this to be explored but currently there is not a lot that can be done (without a serious refactor).
msg378136 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-10-06 20:19
#37903 is the first stage of a serious refactor
Date User Action Args
2022-04-11 14:59:36adminsetgithub: 86123
2020-10-06 20:19:14terry.reedysetstatus: open -> closed
resolution: duplicate
messages: + msg378136

stage: resolved
2020-10-06 13:12:41epainesetnosy: + epaine
messages: + msg378122
2020-10-06 10:55:52Alex-Python-Programmercreate