← 输入框|bugs.python.org|刷新

➜

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.

作者 Paul Monson
收信人 Paul Monson, eryksun, methane, paul.moore, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
日期 2019-05-06.17:32:55
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1557163976.03.0.882681051195.issue36778@roundup.psfhosted.org>
In-reply-to
内容
> Okay. The test verifies work done to minimize interpreter startup time, but probably the relative cost of importing functools (and thus collections et al) isn't significant compared to the overall cost of spawning a process in a Windows desktop environment. That may not be the case for Nano Server and IoT Core.

Is there an easy way to measure this?

> PYTHONIOENCODING=cp65001

I tried setting PYTHONIOENCODING=cp1252 on Windows IoT Core as a workaround and it didn't work.

Victor> My PR 13110 avoids "import functools" at startup. Can you please try it and check if it fix test_site?

I tried the PR and it fixes test_startup_imports, which seems promising.  The PR breaks other test_site tests on Windows IoT Core. 
 The same ones you pointed out in the PR discussion.
历史
日期 用户 动作 参数
2019-05-06 17:32:56Paul Monson修改recipients: + Paul Monson, paul.moore, vstinner, tim.golden, methane, zach.ware, serhiy.storchaka, eryksun, steve.dower
2019-05-06 17:32:56Paul Monson修改messageid: <1557163976.03.0.882681051195.issue36778@roundup.psfhosted.org>
2019-05-06 17:32:56Paul Monson链接issue36778 messages
2019-05-06 17:32:55Paul Monson创建