[Python-Dev] Re: PEG parser and raw strings

2020-05-28 Thread Greg Ewing
On 29/05/20 7:26 am, Vito De Tullio wrote: Hi. Just a question about the new PEG parser: will it support lone slash in raw strings? Even if it could be made to, it presumably won't, because that would be a language change (e.g. the meaning of r'foo\'bar' would change). In any case, this is a

[Python-Dev] Re: PEG parser and raw strings

2020-05-28 Thread Terry Reedy
On 5/28/2020 3:26 PM, Vito De Tullio wrote: Just a question about the new PEG parser: will it support lone slash in raw strings? In 3.9, the new parser is intended to be a drop-in replacement. That is still being worked on. For 3.10, user-visible changes can be considered, but I have not

[Python-Dev] Re: PEG parser and raw strings

2020-05-28 Thread Guido van Rossum
That's the business of the tokenizer, not the parser. And no, nothing is changing there. Please start a discussion on this topic here -- use python-ideas if you feel the need to vent. On Thu, May 28, 2020 at 1:20 PM Vito De Tullio wrote: > Hi. > Just a question about the new PEG parser: will it

[Python-Dev] PEG parser and raw strings

2020-05-28 Thread Vito De Tullio
Hi. Just a question about the new PEG parser: will it support lone slash in raw strings? the fact that r'\' doesn't work as expected it's a strange exception to remember. ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an