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

2020-05-31 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Python 2.7 is no longer supported. -- nosy: +serhiy.storchaka resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

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

2020-01-29 Thread Henk-Jaap Wagenaar
Henk-Jaap Wagenaar 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

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

2020-01-28 Thread Joseph Gordon
Change by Joseph Gordon : -- nosy: -josephgordon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2015-12-22 Thread Joseph Gordon
Changes by Joseph Gordon : -- nosy: +josephgordon ___ Python tracker ___ ___

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

2015-11-18 Thread Blake Hilliard
New submission from Blake Hilliard: Here's a simple test case that shows the bug: # python Python 2.7.9 (default, Apr 2 2015, 14:49:18) [GCC 4.9.2] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import StringIO, tokenize >>> code = "if False:\n\tx=3\n