On 9/20/2021 7:18 AM, Pablo Galindo Salgado wrote:
there are some interesting things we **could** (emphasis on could) get
out of this and I wanted
to discuss what people think about them.
* The parser will allow nesting quote characters. This means that we
**could** allow reusing the same quote type in nested expressions
like this:
f"some text { my_dict["string1"] } more text"
I believe that this will disable regex-based processing, such as syntax
highlighters, as in IDLE. I also think that it will be sometimes
confusing to human readers.
--
Terry Jan Reedy
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at
https://mail.python.org/archives/list/python-dev@python.org/message/TWSJKE4KKSW7YD3OCHKGKJC52VUG6FY5/
Code of Conduct: http://python.org/psf/codeofconduct/