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 ardath.kevin
Recipients ardath.kevin
Date 2020-09-28.20:39:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601325593.83.0.504309665752.issue41881@roundup.psfhosted.org>
In-reply-to
Content
When attempting to concatenate some strings with a new line, I observed that formatting braces in a raw string skipped a new line escape:

print(r'{{}}\nx'.format())

Produces:
{}\nx

Rather than:
{}
x
History
Date User Action Args
2020-09-28 20:39:53ardath.kevinsetrecipients: + ardath.kevin
2020-09-28 20:39:53ardath.kevinsetmessageid: <1601325593.83.0.504309665752.issue41881@roundup.psfhosted.org>
2020-09-28 20:39:53ardath.kevinlinkissue41881 messages
2020-09-28 20:39:53ardath.kevincreate