[issue39520] AST Unparser can't unparse ext slices correctly

2020-03-11 Thread miss-islington
miss-islington added the comment: New changeset cd07b4da659cb5e86fe7c856aca866b9db466fce by Miss Islington (bot) in branch '3.8': bpo-39520: Fix un-parsing of ext slices with no dimensions (GH-18304) https://github.com/python/cpython/commit/cd07b4da659cb5e86fe7c856aca866b9db466fce -

[issue39520] AST Unparser can't unparse ext slices correctly

2020-03-11 Thread miss-islington
miss-islington added the comment: New changeset d0837d2af2c23c3a4b6274f76ca6422a427cc438 by Miss Islington (bot) in branch '3.7': bpo-39520: Fix un-parsing of ext slices with no dimensions (GH-18304) https://github.com/python/cpython/commit/d0837d2af2c23c3a4b6274f76ca6422a427cc438 -

[issue39520] AST Unparser can't unparse ext slices correctly

2020-03-11 Thread miss-islington
Change by miss-islington : -- pull_requests: +18294 pull_request: https://github.com/python/cpython/pull/18941 ___ Python tracker ___ __

[issue39520] AST Unparser can't unparse ext slices correctly

2020-03-11 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +18293 pull_request: https://github.com/python/cpython/pull/18940 ___ Python tracker _

[issue39520] AST Unparser can't unparse ext slices correctly

2020-03-04 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ _

[issue39520] AST Unparser can't unparse ext slices correctly

2020-03-01 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 185903de12de8837bf0dc0008a16e5e56c66a019 by Batuhan Taşkaya in branch 'master': bpo-39520: Fix un-parsing of ext slices with no dimensions (GH-18304) https://github.com/python/cpython/commit/185903de12de8837bf0dc0008a16e5e56c66a019 -

[issue39520] AST Unparser can't unparse ext slices correctly

2020-02-01 Thread Batuhan
Change by Batuhan : -- keywords: +patch pull_requests: +17681 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18304 ___ Python tracker ___

[issue39520] AST Unparser can't unparse ext slices correctly

2020-02-01 Thread Batuhan
New submission from Batuhan : (this issue has already a PR for ast.unparse) >>> from __future__ import annotations >>> import ast >>> x: Tuple[1:2,] = 3 >>> __annotations__["x"] 'Tuple[1:2]' >>> ast.dump(ast.parse("Tuple[1:2,]")) "Module(body=[Expr(value=Subscript(value=Name(id='Tuple', ctx=Loa