[Python-Dev] Should PEP 498 specify if rf'...' is valid? (original) (raw)

Sven R. Kunze srkunze at mail.de
Tue Oct 27 17:54:12 EDT 2015


On 27.10.2015 22:19, Eric V. Smith wrote:

On Oct 27, 2015, at 4:39 PM, Mark Lawrence <breamoreboy at yahoo.co.uk> wrote:

On 27/10/2015 18:39, Sven R. Kunze wrote:

On 26.10.2015 20:54, Ethan Furman wrote: You misunderstand -- the order of string prefixes does not matter, so forcing us to use one is silly. I don't think so.

It's better to have less possibilities in the beginning. So later on, we can easily relax the restrictions without breaking compatibility. Best, Sven Please no. Having a memory much like a bottomless sieve I have no intention of reading the manual every time I need to use string prefixes. Would the table listing "string prefix precedence" in The Fine Docs™ be unique in the programming world? Plus, it's too late for this. What would the manual say: "either br or rb is okay, but you if you want fbr you can't spell it frb."? (Assuming we add binary f-strings.) Let's just leave it as any order, and with any capitalization.

It was just for the protocol. The harm is already done. ;-)

Best, Sven



More information about the Python-Dev mailing list