1:func:`os.mkdir` on Windows now accepts *mode* of ``0o700`` to restrict
2the new directory to the current user. This fixes CVE-2024-4030
3affecting :func:`tempfile.mkdtemp` in scenarios where the base temporary
4directory is more permissive than the default.
5