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 <rep...@bugs.python.org> <http://bugs.python.org/issue8478> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com