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 serhiy.storchaka
Recipients serhiy.storchaka, xiang.zhang
Date 2016-09-23.09:02:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474621347.55.0.223717519462.issue28255@psf.upfronthosting.co.za>
In-reply-to
Content
The patch LGTM. Could you please add tests?

I suppose this is a consequence of porting from Python 2 to Python 3 (maybe with 2to3). Usually "print x," in Python 2 corresponds to "print(x, end=' ')" in Python 3. But if x ends with \n, print with a comma in Python 2 don't add a space, this corresponds to "print(x, end='')". Similar issue was fixed not long ago. Maybe there are other similar issues in the stdlib or scripts.
History
Date User Action Args
2016-09-23 09:02:27serhiy.storchakasetrecipients: + serhiy.storchaka, xiang.zhang
2016-09-23 09:02:27serhiy.storchakasetmessageid: <1474621347.55.0.223717519462.issue28255@psf.upfronthosting.co.za>
2016-09-23 09:02:27serhiy.storchakalinkissue28255 messages
2016-09-23 09:02:26serhiy.storchakacreate