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 veky
Recipients quamrana, veky
Date 2017-08-22.08:14:20
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1503389661.04.0.0839067146181.issue31253@psf.upfronthosting.co.za>
In-reply-to
Content
That's because it is not commented code, it is a multiline string literal. And it is not raw, so \Un... is just an error, since n is not a valid hexadecimal digit. In the first code, \Un... is inside a raw string so it is read literally.

There is nothing to fix here. If you really want to continue confusing string literals and comments, you'll have to use r'''...''' to be a bit more general for this case.
History
Date User Action Args
2017-08-22 08:14:21vekysetrecipients: + veky, quamrana
2017-08-22 08:14:21vekysetmessageid: <1503389661.04.0.0839067146181.issue31253@psf.upfronthosting.co.za>
2017-08-22 08:14:20vekylinkissue31253 messages
2017-08-22 08:14:20vekycreate