消息 [392498]
Yes, test_compileall can still fail for this reason on Windows. From a run just now with -j0 (same as -j10 on this box, which has 8 logical cores: a -j value <= 0 is treated the same as "2 + number of logical cores"):
"""
Compiling 'C:\\Code\\Python\\lib\\types.py'...
*** PermissionError: [WinError 5] Access is denied: 'C:\\Code\\Python\\lib\\__pycache__\\types.cpython-310.pyc.2205988433776' -> 'C:\\Code\\Python\\lib\\__pycache__\\types.cpython-310.pyc'
"""
I did nothing in particular to try to provoke it. "It's random." So is the specific .py fail it fails on. |
|
| 日期 |
用户 |
动作 |
参数 |
| 2021-04-30 18:48:42 | tim.peters | 修改 | recipients:
+ tim.peters, paul.moore, vstinner, tim.golden, jkloth, zach.ware, eryksun, steve.dower, Guido.van.Rossum, pablogsal, shreyanavigyan |
| 2021-04-30 18:48:41 | tim.peters | 修改 | messageid: <1619808521.96.0.564269230384.issue37387@roundup.psfhosted.org> |
| 2021-04-30 18:48:41 | tim.peters | 链接 | issue37387 messages |
| 2021-04-30 18:48:41 | tim.peters | 创建 | |
|