[issue25661] tokenize.untokenize does not maintain the order of tabbed indentations and leading spaces

Henk-Jaap Wagenaar report at bugs.python.org
Wed Jan 29 05:05:47 EST 2020


Henk-Jaap Wagenaar <wagenaarhenkjaap at gmail.com> added the comment:

Python 2.7 is end-of-life, see e.g. https://www.python.org/doc/sunset-python-2/ so this is unlikely to be fixed.

This behaviour continues on Python 3 it seems (I used 3.8.1), *however* on Python 3 this is not valid code as it mixes spaces and tabs, see e.g. https://www.python.org/dev/peps/pep-0008/#tabs-or-spaces

I think therefore this can be closed, though I might well be mistaken.

----------
nosy: +Henk-Jaap Wagenaar

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue25661>
_______________________________________


More information about the Python-bugs-list mailing list