[issue46762] assertion failure in f-string parsing Parser/string_parser.c

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

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-16 Thread miss-islington
miss-islington added the comment: New changeset a657bff34945e40be24cd75d02560a93b7623cf5 by Miss Islington (bot) in branch '3.9': bpo-46762: Fix an assert failure in f-strings where > or < is the last character if the f-string is missing a trailing right brace. (GH-31365)

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-16 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks for the quick fix, Eric! -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-16 Thread miss-islington
miss-islington added the comment: New changeset 3d407b931156bc3ee5ae131de2f2babad831ccb2 by Miss Islington (bot) in branch '3.10': bpo-46762: Fix an assert failure in f-strings where > or < is the last character if the f-string is missing a trailing right brace. (GH-31365)

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +29521 pull_request: https://github.com/python/cpython/pull/31371 ___ Python tracker ___

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-16 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +29520 pull_request: https://github.com/python/cpython/pull/31370 ___ Python tracker

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-16 Thread Eric V. Smith
Eric V. Smith added the comment: New changeset ffd9f8ff84ed53c956b16d027f7d2926ea631051 by Eric V. Smith in branch 'main': bpo-46762: Fix an assert failure in f-strings where > or < is the last character if the f-string is missing a trailing right brace. (#31365)

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-15 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +29515 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31365 ___ Python tracker ___

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-15 Thread Eric V. Smith
Eric V. Smith added the comment: Good catch! I'll have a patch tonight. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue46762] assertion failure in f-string parsing Parser/string_parser.c

2022-02-15 Thread Ammar Askar
New submission from Ammar Askar : Similar to https://bugs.python.org/issue46503 found by the ast.literal_eval fuzzer ``` >>> f'{<' python: Parser/string_parser.c:346: fstring_compile_expr: Assertion `*expr_end == '}' || *expr_end == '!' || *expr_end == ':' || *expr_end == '='' failed. [1]