[issue8478] tokenize.untokenize first token missing failure case

Georg Brandl report at bugs.python.org
Sat Oct 6 14:51:33 CEST 2012


Georg Brandl added the comment:

Attaching patch.  Actually both versions of untokenize() were broken; the version used for "full input" (5-tuples) had a flipped inequality sign in an assert.

Other changes in the patch:

* Docs fixed to describe both modes
* Tests fixed to exercise both modes

----------
keywords: +patch
Added file: http://bugs.python.org/file27452/untokenize.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8478>
_______________________________________


More information about the Python-bugs-list mailing list