Author serhiy.storchaka
Recipients ammar2, nedbat, serhiy.storchaka
Date 2018-10-03.09:53:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538560383.99.0.545547206417.issue34876@psf.upfronthosting.co.za>
In-reply-to
Content
I think this is a correct behavior.

$ cat -n multiline_assignment.py 
     1  x = 1
     2  y = 2
     3  z = [
     4      x,
     5      y,
     6  ]

$ ./python -m trace --trace multiline_assignment.py

In 3.7 the line with the assignment is missed:

 --- modulename: multiline_assignment, funcname: <module>
multiline_assignment.py(1): x = 1
multiline_assignment.py(2): y = 2
multiline_assignment.py(4):     x,
multiline_assignment.py(5):     y,

In 3.8:

 --- modulename: multiline_assignment, funcname: <module>
multiline_assignment.py(1): x = 1
multiline_assignment.py(2): y = 2
multiline_assignment.py(4):     x,
multiline_assignment.py(5):     y,
multiline_assignment.py(3): z = [
History
Date User Action Args
2018-10-03 09:53:04serhiy.storchakasetrecipients: + serhiy.storchaka, nedbat, ammar2
2018-10-03 09:53:03serhiy.storchakasetmessageid: <1538560383.99.0.545547206417.issue34876@psf.upfronthosting.co.za>
2018-10-03 09:53:03serhiy.storchakalinkissue34876 messages
2018-10-03 09:53:03serhiy.storchakacreate