-
-
Notifications
You must be signed in to change notification settings - Fork 33.5k
Open
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-IDLEtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
My IDLE is set to the default 4-space indent. When I switch to using tabs through whatever the keyboard for toggle-tabs, after the popup message, the tab key generates the tab character.
If I switch back to using spaces using the same keyboard shortcut, I find that the tab key generates eight spaces instead of the usual four. I don’t think that’s the intended behaviour.
This is fixed after restarting IDLE.
CPython versions tested on:
3.14
Operating systems tested on:
Windows 11 & macOS
Metadata
Metadata
Assignees
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytopic-IDLEtype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error