Message 326936 - Python tracker
On other hand, consider the following example of multiline assignment:
$ rlwrap ./python -m dis
a = [
x,
y,
]
In 3.7:
2 0 LOAD_NAME 0 (x)
3 2 LOAD_NAME 1 (y)
4 BUILD_LIST 2
6 STORE_NAME 2 (a)
8 LOAD_CONST 0 (None)
10 RETURN_VALUE
In 3.8:
2 0 LOAD_NAME 0 (x)
3 2 LOAD_NAME 1 (y)
1 4 BUILD_LIST 2
6 STORE_NAME 2 (a)
8 LOAD_CONST 0 (None)
10 RETURN_VALUE
In 3.7 the line of the assignment "a = [" is not traced. In 3.8 it is traced.
These all are a consequences of the same change.