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 Mark.Shannon
Recipients Mark.Shannon, nedbat
Date 2021-06-21.10:08:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1624270109.71.0.305431495652.issue44450@roundup.psfhosted.org>
In-reply-to
Content
I think this is a combination of https://bugs.python.org/issue44297 and the PREDICT macros.

I don't have a  windows machine to confirm this on, but I suspect that if you rewrite `doit` as:

def doit():
    o = ((1,2), (3,4))
    o = (a for
         a in
         o)
    for tup in o:
        x = tup[0]
        y = tup[1]

then you should be able to observe a difference between Windows and Mac on 3.9 as well.
History
Date User Action Args
2021-06-21 10:08:29Mark.Shannonsetrecipients: + Mark.Shannon, nedbat
2021-06-21 10:08:29Mark.Shannonsetmessageid: <1624270109.71.0.305431495652.issue44450@roundup.psfhosted.org>
2021-06-21 10:08:29Mark.Shannonlinkissue44450 messages
2021-06-21 10:08:29Mark.Shannoncreate