
The current restrictions will also confuse some users (e.g. those used to bash, and IIRC JS, where the rules are similar as what Pablo is proposing). On Mon, Sep 20, 2021 at 8:24 AM Terry Reedy <tjreedy@udel.edu> wrote:
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-leave@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/TWSJKE4K... Code of Conduct: http://python.org/psf/codeofconduct/
-- --Guido van Rossum (python.org/~guido) *Pronouns: he/him **(why is my pronoun here?)* <http://feministing.com/2015/02/03/how-using-they-as-a-singular-pronoun-can-c...>