Author serhiy.storchaka
Recipients Rosuav, barry, docs@python, ezio.melotti, lelit, mrabarnett, nedbat, serhiy.storchaka
Date 2016-11-22.19:28:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479842936.68.0.667608567846.issue28450@psf.upfronthosting.co.za>
In-reply-to
Content
The reason for disallowing some undefined escapes is the same as in pattern strings: this would allow as to introduce new special escape sequences. For example:

* \N{...} for named character escape.
* Perl and extended PCRE use \L and \U for making lower and upper casing of the replacement. \U is already used for other purpose, but you have an idea.

Of course the need in new special escape sequences in template string is much less then in pattern string.
History
Date User Action Args
2016-11-22 19:28:56serhiy.storchakasetrecipients: + serhiy.storchaka, barry, nedbat, ezio.melotti, mrabarnett, docs@python, Rosuav, lelit
2016-11-22 19:28:56serhiy.storchakasetmessageid: <1479842936.68.0.667608567846.issue28450@psf.upfronthosting.co.za>
2016-11-22 19:28:56serhiy.storchakalinkissue28450 messages
2016-11-22 19:28:56serhiy.storchakacreate