[issue20387] tokenize/untokenize roundtrip fails with tabs
Terry J. Reedy
report at bugs.python.org
Sun Feb 2 11:30:38 CET 2014
Terry J. Reedy added the comment:
The untokenize docstring has a stronger guarantee, and in the direction you were claiming. "Round-trip invariant for full input: Untokenized source will match input source exactly". For this to be true, the indent strings must be saved and not replaced by spaces.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20387>
_______________________________________
More information about the Python-bugs-list
mailing list