Raymond Hettinger added the comment: > IDLE defaults to indenting with 4 spaces in editor windows, > but hard TABs in the Python Shell window. This is inconsistent > with PEP 8; what's worse, it's makes copy-paste code between > the shell and editor windows confusing and dangerous!
I also teach Python and find this to be a major PITA. A Cntl-T turns tabs off but leaves the tab spacing at eight. ---------- nosy: +rhettinger _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7676> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com