[New-bugs-announce] [issue42607] raw strings SyntaxError

安迷 report at bugs.python.org
Tue Dec 8 22:18:11 EST 2020


New submission from 安迷 <anmikf at qq.com>:

[test at test ~]# python3 -c 'print(r"\n")'
\n
[test at test ~]# python3 -c 'print(r"n\")'
  File "<string>", line 1
    print(r"n\")
               ^
SyntaxError: EOL while scanning string literal

----------
components: Windows
messages: 382785
nosy: anmikf, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: raw strings SyntaxError
type: behavior
versions: Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue42607>
_______________________________________


More information about the New-bugs-announce mailing list