You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2014-02-21.22:45:35.321>created_at=<Date2014-02-19.22:08:56.173>labels= ['expert-IDLE', 'type-bug', 'invalid']
title='IDLE Indents convert to spaces and then throws error'updated_at=<Date2014-02-21.22:45:35.289>user='https://bugs.python.org/JustinBarker'
When I add some lines to my module code, some of the tabs that I enter convert to spaces. This throws an inconsistency error and I can't get it to stop!
Questions about how to use python (or Idle) are better directed to python-list or similar forums. In this case, you are asking how to edit a file with tabs in Idle, which converts tabs to spaces on entry. Idle editor windows have a Format menu with Tabify and Untabify options, both of which allow you to select the conversion between tabs and spaces. I personally would untabify the file first and edit. You could re-tabify at the end if needed. Or just edit (with spaces) and tabify the new stuff at the end.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: