[issue46339] PEG parser segfault from ast.literal_eval
Pablo Galindo Salgado
report at bugs.python.org
Tue Jan 11 06:13:00 EST 2022
Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:
Seems that the regression is caused by this commit:
6fa8b2ceee38187b0ae96aee12fe4f0a5c8a2ce7 is the first bad commit
commit 6fa8b2ceee38187b0ae96aee12fe4f0a5c8a2ce7
Author: Pablo Galindo Salgado <Pablogsal at gmail.com>
Date: Sat Jan 8 00:23:40 2022 +0000
bpo-46237: Fix the line number of tokenizer errors inside f-strings (GH-30463)
Lib/test/test_exceptions.py | 12 ++++++++++++
.../2022-01-07-19-33-05.bpo-46237.9A6Hpq.rst | 2 ++
Parser/pegen.c | 8 ++++----
Parser/string_parser.c | 5 ++++-
4 files changed, 22 insertions(+), 5 deletions(-)
create mode 100644 Misc/NEWS.d/next/Core and Builtins/2022-01-07-19-33-05.bpo-46237.9A6Hpq.rst
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46339>
_______________________________________
More information about the Python-bugs-list
mailing list