On Thu, Sep 17, 2020 at 1:23 PM Chris Angelico <ros...@gmail.com> wrote:

>
> And that's why the directives are NOT just a pure mirroring of format
> string directives. Look at C's scanf and printf functions - they
> correspond in many ways, but they differ in order to be useful.


Exactly -- but the C ones are a lot simpler an more constrained, so it's a
pretty good match.

The
> point isn't to reverse format(), the point is to have a useful and
> practical string parser that assigns directly to variables.
>

I don't think there's one point in this thread. and the OP certainly
presented it as reversing a fstring format.

 > Also, PEP 622.

yup -- at a glance, I like that a lot better.

-CHB


-- 
Christopher Barker, PhD

Python Language Consulting
  - Teaching
  - Scientific Software Development
  - Desktop GUI and Web Development
  - wxPython, numpy, scipy, Cython
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/Q5KRGOWLFMGOJWLKR2SZNJ2OUHXW333E/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to