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 pablogsal
Recipients BTaskaya, Mark.Shannon, pablogsal, pxeger, serhiy.storchaka
Date 2020-12-28.23:19:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1609197568.71.0.574846279567.issue42754@roundup.psfhosted.org>
In-reply-to
Content
> This is a similar case. I am -1 for this optimization.

Yeah, I concur. One of the major drawbacks of this is that the normal case where this happens involves a Load():

z = "something"
x = ["a", *z, "b"]

I see almost no reason to nest the literals in this case, especially in a context sensitive scope. I am closing the draft PR and the issue.

Thanks Patrick for the proposal, though!
History
Date User Action Args
2020-12-28 23:19:28pablogsalsetrecipients: + pablogsal, Mark.Shannon, serhiy.storchaka, BTaskaya, pxeger
2020-12-28 23:19:28pablogsalsetmessageid: <1609197568.71.0.574846279567.issue42754@roundup.psfhosted.org>
2020-12-28 23:19:28pablogsallinkissue42754 messages
2020-12-28 23:19:28pablogsalcreate