[Python-Dev] PEP-498: Literal String Formatting
larry at hastings.org
Mon Aug 17 13:48:49 CEST 2015
On 08/17/2015 03:02 AM, Paul Moore wrote:
> On 17 August 2015 at 05:34, Victor Stinner <victor.stinner at gmail.com> wrote:
>> 2015-08-16 7:21 GMT-07:00 Paul Moore <p.f.moore at gmail.com>:
>>> 3. All of the complex examples look scary, but in practice I wouldn't
>>> write stuff like that - why would anyone do so unless they were being
>>> deliberately obscure?
>> I'm quite sure that users will write complex code in f-strings.
> So am I. Some people will always write bad code. I won't (or at least,
> I'll try not to write code that *I* consider to be complex :-)) but
> "you can use this construct to write bad code" isn't an argument for
> dropping the feature. If you couldn't find *good* uses, that would be
> different, but that doesn't seem to be the case here (at least in my
I think this corner of the debate is covered by the "Consenting adults"
guiding principle we use 'round these parts.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev