[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread miss-islington
miss-islington added the comment: New changeset 2076d4f97ef514bb4dc4ca768fbaa3f538ce7f1f by Miss Islington (bot) in branch '3.8': bpo-39474: Fix AST pos for expressions like (a)(b), (a)[b] and (a).b. (GH-18477) https://github.com/python/cpython/commit/2076d4f97ef514bb4dc4ca768fbaa3f538ce7f1f

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +17864 pull_request: https://github.com/python/cpython/pull/18491 ___ Python tracker ___ __

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 6e619c48b8e804ece9521453fc8da0640a04d5b1 by Serhiy Storchaka in branch 'master': bpo-39474: Fix AST pos for expressions like (a)(b), (a)[b] and (a).b. (GH-18477) https://github.com/python/cpython/commit/6e619c48b8e804ece9521453fc8da0640a04d5b1

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Batuhan Taskaya
Batuhan Taskaya added the comment: > Are you going to work on a patch then, Batuhan? Serhiy already submitted a PR, which looks great. -- ___ Python tracker ___ _

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +17847 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18477 ___ Python tracker ___

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-12 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- assignee: -> serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-11 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-11 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Are you going to work on a patch then, Batuhan? -- ___ Python tracker ___ ___ Python-bugs-lis

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-11 Thread Guido van Rossum
Guido van Rossum added the comment: This is also a 3.8 issue. We discovered this with pegen, and would love to see it fixed. -- nosy: +gvanrossum versions: +Python 3.8 ___ Python tracker ___

[issue39474] col_offset for parenthesized expressions looks weird

2020-02-11 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- nosy: +lys.nikolaou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue39474] col_offset for parenthesized expressions looks weird

2020-01-28 Thread Batuhan
Change by Batuhan : -- title: col_offset for parenthesized expressions looks weird on attribute access -> col_offset for parenthesized expressions looks weird type: -> behavior ___ Python tracker __

[issue39474] col_offset for parenthesized expressions looks weird on attribute access

2020-01-28 Thread Batuhan
New submission from Batuhan : Python 3.9.0a2+ (heads/master:65ecc390c1, Jan 26 2020, 15:39:11) [GCC 9.2.1 20191008] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import ast >>> source = "(2+2).source" >>> ast.get_source_segment(source, ast.parse(source).bod