[issue33520] ast.Tuple has wrong col_offset

2018-05-16 Thread Isaiah Peng
Isaiah Peng <issa...@gmail.com> added the comment: Fair enough, thanks for clarification. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.python

[issue33520] ast.Tuple has wrong col_offset

2018-05-15 Thread Isaiah Peng
Isaiah Peng <issa...@gmail.com> added the comment: > It's true that the parenthesis is required to construct a tuple Sorry, I mean the parenthesis is *not* required. -- ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue33520] ast.Tuple has wrong col_offset

2018-05-15 Thread Isaiah Peng
Isaiah Peng <issa...@gmail.com> added the comment: Thanks for the reply, that's quite reasonable, especially take the generator expression case into consideration. However I found this is not consistent with empty

[issue33520] ast.Tuple has wrong col_offset

2018-05-15 Thread Isaiah Peng
New submission from Isaiah Peng <issa...@gmail.com>: The `col_offset` of the ast.Tuple node is set to the column offset of the first element, shown in code: >>> a = "{1,2,3}" &g

[issue32384] Generator tests is broken in non-CPython implementation

2017-12-20 Thread Isaiah Peng
Change by Isaiah Peng <issa...@gmail.com>: -- keywords: +patch pull_requests: +4831 stage: -> patch review ___ Python tracker <rep...@bugs.python.org> <https://bugs.pyt

[issue16737] Different behaviours in script run directly and via runpy.run_module

2017-10-26 Thread Isaiah Peng
Isaiah Peng <issa...@gmail.com> added the comment: Not sure if it's stated before, this difference of behavior also has other effects, e.g. $ python -m test.test_traceback # Ran 61 tests in 0.449s # FAILED (failures=5) This is because the loader associated with the module get co