[issue40870] Custom AST can crash Python (debug build)

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

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread miss-islington
miss-islington added the comment: New changeset 83a9ba442662c2a030b45955f3dd24ff4b24bb61 by Miss Islington (bot) in branch '3.8': bpo-40870: Invalidate usage of some constants with ast.Name (GH-20649) https://github.com/python/cpython/commit/83a9ba442662c2a030b45955f3dd24ff4b24bb61

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread miss-islington
miss-islington added the comment: New changeset 90ee51f1cd9e63cfe0f402392612f50fc1bea747 by Miss Islington (bot) in branch '3.9': bpo-40870: Invalidate usage of some constants with ast.Name (GH-20649) https://github.com/python/cpython/commit/90ee51f1cd9e63cfe0f402392612f50fc1bea747

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +19890 pull_request: https://github.com/python/cpython/pull/20675 ___ Python tracker ___ __

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread miss-islington
miss-islington added the comment: New changeset 68874a8502da440a1dc4746cf73262648b870aee by Batuhan Taskaya in branch 'master': bpo-40870: Invalidate usage of some constants with ast.Name (GH-20649) https://github.com/python/cpython/commit/68874a8502da440a1dc4746cf73262648b870aee --

[issue40870] Custom AST can crash Python (debug build)

2020-06-06 Thread miss-islington
Change by miss-islington : -- pull_requests: +19891 pull_request: https://github.com/python/cpython/pull/20676 ___ Python tracker ___ __

[issue40870] Custom AST can crash Python (debug build)

2020-06-05 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: cross-linking pytest issue: https://github.com/pytest-dev/pytest/issues/7322 -- ___ Python tracker ___ _

[issue40870] Custom AST can crash Python (debug build)

2020-06-05 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- keywords: +patch pull_requests: +19869 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20649 ___ Python tracker ___

[issue40870] Custom AST can crash Python (debug build)

2020-06-05 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- components: +Interpreter Core nosy: +pablogsal, serhiy.storchaka type: -> behavior versions: +Python 3.10, Python 3.8, Python 3.9 ___ Python tracker ___

[issue40870] Custom AST can crash Python (debug build)

2020-06-05 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : import ast t = ast.fix_missing_locations(ast.Expression(ast.Name("True", ast.Load( compile(t, "", "eval") compilation of this AST can crash the interpreter for 3.8+ test_constant_as_name (test.test_ast.AST_Tests) ... python: Python/compile.c:3559: com