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 steve.dower
Recipients christian.heimes, giampaolo.rodola, ncoghlan, r.david.murray, steve.dower, vstinner
Date 2014-10-27.19:16:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1414437382.8.0.233475789713.issue22731@psf.upfronthosting.co.za>
In-reply-to
Content
> Argh, you're making me page _testembed back into my brain. I try to avoid having to do that ;)

Hehe, sorry.

> My guess would be that VC10 is translating '\n' to '\r\n' in the
> printf() calls, and VC14 has stopped doing that.
>
> To confirm my theory: check if it is only the lines that start 
> with "Expected" that end with '\n' rather than '\r\n' under VC14
> (those are the ones produced directly from C - the others are
> produced via Python's print builtin).

Confirmed. Enabling universal_newlines and using '\n'.join() instead of os.linesep.join() for the expected result works.

Does that sound like it would be the correct fix? Or is the printf() change something that we should try and keep consistent with VC10?
History
Date User Action Args
2014-10-27 19:16:22steve.dowersetrecipients: + steve.dower, ncoghlan, vstinner, giampaolo.rodola, christian.heimes, r.david.murray
2014-10-27 19:16:22steve.dowersetmessageid: <1414437382.8.0.233475789713.issue22731@psf.upfronthosting.co.za>
2014-10-27 19:16:22steve.dowerlinkissue22731 messages
2014-10-27 19:16:22steve.dowercreate