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 akuchling
Recipients Brian.Bossé, akuchling, kristjan.jonsson, nick.caruso, rhettinger
Date 2012-11-04.00:53:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1351990406.07.0.0211080867725.issue9974@psf.upfronthosting.co.za>
In-reply-to
Content
I looked at this a bit and made a revised version of the patch that doesn't add any line continuations when the token is ENDMARKER.  It works on the example program and a few variations I tried, though I'm not convinced that it'll work for all possible permutations of line continuations, whitespace, and ENDMARKER.  (I couldn't find one that failed, though.)

Is this worth pursuing?  I could put together the necessary test cases.
History
Date User Action Args
2012-11-04 00:53:26akuchlingsetrecipients: + akuchling, rhettinger, kristjan.jonsson, nick.caruso, Brian.Bossé
2012-11-04 00:53:26akuchlingsetmessageid: <1351990406.07.0.0211080867725.issue9974@psf.upfronthosting.co.za>
2012-11-04 00:53:26akuchlinglinkissue9974 messages
2012-11-04 00:53:25akuchlingcreate