[issue46339] PEG parser segfault from ast.literal_eval

2022-01-20 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-20 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 1fb1f5d8bd084c20f0a5fde547b563c08d103f09 by Miss Islington (bot) in branch '3.10': [3.10] bpo-46339: Fix crash in the parser when computing error text for multi-line f-strings (GH-30529) (GH-30542) https://github.com/python/cpython/commi

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 8c2fd09f365e082cfceb29afdf38953cdd670946 by Pablo Galindo Salgado in branch 'main': bpo-46339: Include clarification on assert in 'get_error_line_from_tokenizer_buffers' (#30545) https://github.com/python/cpython/commit/8c2fd09f365e082cf

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-11 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +28743 pull_request: https://github.com/python/cpython/pull/30545 ___ Python tracker ___ ___

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +28740 pull_request: https://github.com/python/cpython/pull/30542 ___ Python tracker ___ __

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-11 Thread miss-islington
miss-islington added the comment: New changeset cedec19be81e6bd153678bfb28c8e217af8bda58 by Pablo Galindo Salgado in branch 'main': bpo-46339: Fix crash in the parser when computing error text for multi-line f-strings (GH-30529) https://github.com/python/cpython/commit/cedec19be81e6bd153678b

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-11 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +28730 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/30529 ___ Python tracker ___

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: The reason is that the line numbers are now correctly identified, and that causes existing code to not work correctly :( -- ___ Python tracker __

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-11 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Seems that the regression is caused by this commit: 6fa8b2ceee38187b0ae96aee12fe4f0a5c8a2ce7 is the first bad commit commit 6fa8b2ceee38187b0ae96aee12fe4f0a5c8a2ce7 Author: Pablo Galindo Salgado Date: Sat Jan 8 00:23:40 2022 + bpo-46237: Fix

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-10 Thread Kumar Aditya
Kumar Aditya added the comment: I tested it on 3.10.1 and it didn't segfault on Windows 11 so seems like 3.11 regression. -- nosy: +kumaraditya303 ___ Python tracker ___

[issue46339] PEG parser segfault from ast.literal_eval

2022-01-10 Thread Gregory P. Smith
New submission from Gregory P. Smith : cpython/b$ ./python Python 3.11.0a3+ (heads/main-dirty:081a214008, Jan 11 2022, 02:48:22) [GCC 11.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ast >>> ast.literal_eval('''F""" ... ... ... {6 ... 0="""''