This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author lukasz.langa
Recipients BTaskaya, ammar2, gregory.p.smith, lukasz.langa, lys.nikolaou, pablogsal
Date 2021-10-07.19:33:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1633635217.54.0.0927288916368.issue45408@roundup.psfhosted.org>
In-reply-to
Content
Confirmed in 3.10 and 3.11:

>>> ast.literal_eval(r'''\
... \
... (\
... \ ''')
fish: Job 1, 'python' terminated by signal SIGSEGV (Address boundary error)

3.9 raises SyntaxError:

>>> ast.literal_eval(r'''
... \
... (\
... \ ''')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "ast.py", line 62, in literal_eval
    node_or_string = parse(node_or_string, mode='eval')
  File "ast.py", line 50, in parse
    return compile(source, filename, mode, flags,
  File "<unknown>", line 4
    \
    ^
SyntaxError: unexpected character after line continuation character
History
Date User Action Args
2021-10-07 19:33:37lukasz.langasetrecipients: + lukasz.langa, gregory.p.smith, ammar2, lys.nikolaou, pablogsal, BTaskaya
2021-10-07 19:33:37lukasz.langasetmessageid: <1633635217.54.0.0927288916368.issue45408@roundup.psfhosted.org>
2021-10-07 19:33:37lukasz.langalinkissue45408 messages
2021-10-07 19:33:37lukasz.langacreate