[issue25131] The AST for dict and set displays has the lineno of the first value

Terry J. Reedy report at bugs.python.org
Sat Sep 19 01:19:22 CEST 2015


Terry J. Reedy added the comment:

A fix should include a new ast test, such as
      self.assertEqual(parse("{\n1:2}").body[0].value.lineno, 1)
I verified that the equivalent assert passes on 3.4.3, fails on 3.5.0.

----------
nosy: +terry.reedy
stage:  -> test needed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25131>
_______________________________________


More information about the Python-bugs-list mailing list