[issue40349] Python3.9 changes col_offset for some ast nodes

2020-04-20 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: col_offset = 0 is the correct value. There was a bug which is fixed now (see issue39474). -- nosy: +serhiy.storchaka resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker

[issue40349] Python3.9 changes col_offset for some ast nodes

2020-04-20 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +BTaskaya, pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue40349] Python3.9 changes col_offset for some ast nodes

2020-04-20 Thread Shantanu
New submission from Shantanu : With Python 3.8: ``` Python 3.8.1 (default, Jan 23 2020, 23:36:06) [Clang 11.0.0 (clang-1100.0.33.17)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import ast >>> ast.parse("(a).x").body[0].value.col_offset 1 ``` With Pytho