New submission from Isaiah Peng :
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}"
>>
Isaiah Peng 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 tuple:
Isaiah Peng 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
<https://bugs.python.org
Isaiah Peng added the comment:
Fair enough, thanks for clarification.
--
___
Python tracker
<https://bugs.python.org/issue33520>
___
___
Python-bugs-list mailin
Isaiah Peng 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 confused, it loaded
the ori
Change by Isaiah Peng :
--
keywords: +patch
pull_requests: +4831
stage: -> patch review
___
Python tracker
<https://bugs.python.org/issue32384>
___
___
Python-