A.M. Kuchling added the comment: 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. ---------- nosy: +akuchling Added file: http://bugs.python.org/file27873/issue9974-2.txt _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue9974> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com