This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients ammar2, nedbat, serhiy.storchaka
Date 2018-10-03.05:51:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1538545887.36.0.545547206417.issue34876@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2018-10-03 05:51:27serhiy.storchakasetrecipients: + serhiy.storchaka, nedbat, ammar2
2018-10-03 05:51:27serhiy.storchakasetmessageid: <1538545887.36.0.545547206417.issue34876@psf.upfronthosting.co.za>
2018-10-03 05:51:27serhiy.storchakalinkissue34876 messages
2018-10-03 05:51:27serhiy.storchakacreate