This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author nick.caruso
Recipients Brian.Bossé, kristjan.jonsson, nick.caruso, rhettinger
Date 2010-10-18.21:22:30
SpamBayes Score 7.56316e-07
Marked as misclassified No
Message-id <1287436952.76.0.198027751522.issue9974@psf.upfronthosting.co.za>
In-reply-to
Content
--------------------------
import StringIO
import tokenize

tokens = []
def fnord(*a):
    tokens.append(a)

tokenize.tokenize(StringIO.StringIO("a = 1").readline, fnord)

tokenize.untokenize(tokens)
----------------------------------

Generates the same assertion failure, for what it's worth.  No line continuation needed.

This does not happen in 2.5 on my machine.
History
Date User Action Args
2010-10-18 21:22:32nick.carusosetrecipients: + nick.caruso, rhettinger, kristjan.jonsson, Brian.Bossé
2010-10-18 21:22:32nick.carusosetmessageid: <1287436952.76.0.198027751522.issue9974@psf.upfronthosting.co.za>
2010-10-18 21:22:30nick.carusolinkissue9974 messages
2010-10-18 21:22:30nick.carusocreate