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

2015-10-27 Thread Sven R. Kunze

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
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


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

2015-10-27 Thread Mark Lawrence

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?


--
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence

___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


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

2015-10-27 Thread Eric V. Smith
On Oct 27, 2015, at 4:39 PM, Mark Lawrence  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.

Eric. 
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com


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

2015-10-27 Thread Sven R. Kunze

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

On Oct 27, 2015, at 4:39 PM, Mark Lawrence  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
___
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com