[issue22731] test_capi test fails because of mismatched newlines

Nick Coghlan report at bugs.python.org
Wed Oct 29 13:28:56 CET 2014


Nick Coghlan added the comment:

One last thing: we may also want to update the C API docs to explicitly point out the discrepancy in handling of '\n' on Windows between printf() in VC14+ (which no longer does the '\r\n' substitution) and the print functions in the Python C API (which will keep the transformation).

This is a weird enough quirk that I feel like we should explicitly point it out *somewhere*, but also obscure enough that I don't want to bother people with it unnecessarily.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue22731>
_______________________________________


More information about the Python-bugs-list mailing list