[issue40663] Wrong generated annotation on subscripting

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

[issue40663] Wrong generated annotation on subscripting

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset a4d219b35e35f9efc406cd70f2812275bcd989fe by Batuhan Taskaya in branch '3.8': [3.8] bpo-40663: Correctly handle annotations with subscripts in ast_unparse.c (GH-20156). (GH-20191) https://github.com/python/cpython/commit/a4d219b35e35f9efc

[issue40663] Wrong generated annotation on subscripting

2020-05-22 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 43300148c5f30317ebf767aa8853a957ee5c87fb by Batuhan Taskaya in branch '3.7': [3.7] bpo-40663: Correctly handle annotations with subscripts in ast_unparse.c (GH-20156). (GH-20192) https://github.com/python/cpython/commit/43300148c5f30317e

[issue40663] Wrong generated annotation on subscripting

2020-05-22 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +19593 pull_request: https://github.com/python/cpython/pull/20324 ___ Python tracker _

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19493 pull_request: https://github.com/python/cpython/pull/20192 ___ Python tracker ___ _

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19492 pull_request: https://github.com/python/cpython/pull/20191 ___ Python tracker ___ _

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2135e10dc717c00d10d899d232bebfc59bb25032 by Batuhan Taskaya in branch 'master': bpo-40663: Correctly handle annotations with subscripts in ast_unparse.c (GH-20156) https://github.com/python/cpython/commit/2135e10dc717c00d10d899d232bebfc5

[issue40663] Wrong generated annotation on subscripting

2020-05-17 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- components: +Interpreter Core type: -> behavior versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___

[issue40663] Wrong generated annotation on subscripting

2020-05-17 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: $ python3.8 Python 3.8.0+ (heads/3.8:b9e5547f58, Nov 28 2019, 19:18:03) [GCC 9.2.1 20191008] on linux Type "help", "copyright", "credits" or "license" for more information. >>> from __future__ import annotations >>> b: Type[(int, str, *types)] >>> __annotatio

[issue40663] Wrong generated annotation on subscripting

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

[issue40663] Wrong generated annotation on subscripting

2020-05-17 Thread Batuhan Taskaya
New submission from Batuhan Taskaya : >>> from __future__ import annotations >>> a: Type[int, str] >>> b: Type[(int, str, *types)] >>> __annotations__ {'a': 'Type[int, str]', 'b': 'Type[int, str, *types]'} >>> ast.parse(__annotations__["b"]) Traceback (most recent call last): File "", line 1,