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.

作者 gregory.p.smith
收信人 Erik.Tollerud, amaury.forgeotdarc, eric.araujo, eric.snow, gregory.p.smith, meador.inge, miss-islington, psimons, python-dev, serhiy.storchaka, tomdzk
日期 2020-03-05.00:50:55
SpamBayes Score -1.0
Marked as misclassified
Message-id <1583369455.73.0.882095579906.issue13487@roundup.psfhosted.org>
In-reply-to
内容
Testing by changing list(sys.modules.items()) to sys.modules.copy().items() internally with a large integration test that was reliably flaky on this line before shows that the .copy().items() worked.  The test is reliable again.

So I've gone ahead and pushed those changes in.  PyDict_Copy()'s implementation at first ~5 minute glance did not appear to have calls to code I'd expect to re-enter Python releasing the GIL.  But I didn't try to do a deep dive.  It works for us and is logically equivalent.
历史
日期 用户 动作 参数
2020-03-05 00:50:55gregory.p.smith修改recipients: + gregory.p.smith, amaury.forgeotdarc, eric.araujo, meador.inge, python-dev, eric.snow, Erik.Tollerud, serhiy.storchaka, psimons, tomdzk, miss-islington
2020-03-05 00:50:55gregory.p.smith修改messageid: <1583369455.73.0.882095579906.issue13487@roundup.psfhosted.org>
2020-03-05 00:50:55gregory.p.smith链接issue13487 messages
2020-03-05 00:50:55gregory.p.smith创建