[Python-Dev] Re: Raw string literals and trailing backslash

2019-08-12 Thread Glenn Linderman
On 8/12/2019 10:21 PM, Serhiy Storchaka wrote: 12.08.19 22:41, Glenn Linderman пише: On 8/12/2019 12:08 AM, Serhiy Storchaka wrote: Currently a raw literal cannot end in a single backslash (e.g. in r"C:\User\"). Although there are reasons for this. It is an old gotcha, and there are many close

[Python-Dev] Re: Raw string literals and trailing backslash

2019-08-12 Thread Serhiy Storchaka
12.08.19 22:41, Glenn Linderman пише: On 8/12/2019 12:08 AM, Serhiy Storchaka wrote: Currently a raw literal cannot end in a single backslash (e.g. in r"C:\User\"). Although there are reasons for this. It is an old gotcha, and there are many closed issues about it. This question is even includ

[Python-Dev] Re: Raw string literals and trailing backslash

2019-08-12 Thread Glenn Linderman
On 8/12/2019 12:08 AM, Serhiy Storchaka wrote: Currently a raw literal cannot end in a single backslash (e.g. in r"C:\User\"). Although there are reasons for this. It is an old gotcha, and there are many closed issues about it. This question is even included in FAQ. Hmm. I didn't find it docu