We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 19262bb commit f3bac77Copy full SHA for f3bac77
cpython-windows/build.py
@@ -1235,7 +1235,10 @@ def build_cpython(
1235
else:
1236
raise ValueError("unhandled arch: %s" % arch)
1237
1238
- with tempfile.TemporaryDirectory(prefix="python-build-") as td:
+ tempdir_opts = (
1239
+ {"ignore_cleanup_errors": True} if sys.version_info >= (3, 12) else {}
1240
+ )
1241
+ with tempfile.TemporaryDirectory(prefix="python-build-", **tempdir_opts) as td:
1242
td = pathlib.Path(td)
1243
1244
with concurrent.futures.ThreadPoolExecutor(10) as e:
0 commit comments