New submission from Gregory P. Smith <[email protected]>:
```
>>> v = r"""f'\N '"""
>>> import ast
>>> ast.literal_eval(v)
python: ../gpshead/Parser/string_parser.c:487: fstring_find_literal: Assertion
`s == end || *s == '{' || *s == '}'' failed.
Aborted
```
this comes from oss-fuzz after enabling assert checks in its cpython builds. :)
https://oss-fuzz.com/testcase-detail/4805529363415040 &
https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=43730 for those who have
access.
----------
components: Parser
messages: 411503
nosy: gregory.p.smith, lys.nikolaou, pablogsal
priority: high
severity: normal
stage: needs patch
status: open
title: assertion failure in Parser/string_parser.c
type: crash
versions: Python 3.11
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue46503>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com