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, xmorel
Date 2020-10-15.09:25:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1602753958.25.0.276017577532.issue42033@roundup.psfhosted.org>
In-reply-to
Content
Have you observed any slowdown or incorrect behaviour?

The 3.8 bytecode looks incorrect to me.
The C-API documentation doesn't prohibit callables from mutating the dictionary they receive.
Unless a copy is made, then a callee could mutate `var`.

https://docs.python.org/3/c-api/call.html
History
Date User Action Args
2020-10-15 09:25:58Mark.Shannonsetrecipients: + Mark.Shannon, xmorel
2020-10-15 09:25:58Mark.Shannonsetmessageid: <1602753958.25.0.276017577532.issue42033@roundup.psfhosted.org>
2020-10-15 09:25:58Mark.Shannonlinkissue42033 messages
2020-10-15 09:25:58Mark.Shannoncreate