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

Ethan Furman ethan at stoneleaf.us
Mon Oct 26 15:54:42 EDT 2015


On 10/26/2015 11:45 AM, Sven R. Kunze wrote:
> On 26.10.2015 16:22, Ethan Furman wrote:
>> On 10/23/2015 08:20 AM, Nick Coghlan wrote:
>>> My own objection isn't to allowing "fR" or "fbR", it's to allowing the
>>> uppercase "F".
>>>
>>> I also don't understand why we can't say "if 'f' is part of a string
>>> prefix, it must be first".
>>
>> Sometimes order matters, and sometimes it does not.  If the order does
>> not have an impact on the final code, it does not matter, and making
>> us have to remember an order that does not matter is a waste.
>
> Order that matters? You must be kidding.

You misunderstand -- the order of string prefixes does *not* matter, so 
forcing us to use one is silly.

--
~Ethan~


More information about the Python-Dev mailing list