Compiling python on windows with vs

Thomas Schweikle tschweikle at bfs.de
Thu Jun 15 11:32:22 EDT 2023


Am Do., 15.Juni.2023 um 15:44:42 schrieb Inada Naoki:
> Then, git doesn't enable Windows NTFS case sensitivity.
> 
> You enabled NTFS case sensitivity on "C:\Users\user\K".
> And Windows enabled case sensitivity for all new directories under the
> directory.

No. This flag is not inherited. Someone has to set it for created 
directories. It is easy to confirm: take a directory not under MSYS or 
cygwin control (because it is mounted by MSYS or cygwin), set the flag, 
then create directories. They all will have caseSensitivInfo disabled.

> Since it is not default and minor setting, it is not a bug that
> current Python doesn't support building on case sensitive directory.
> But I think it is a nice improvement if next Python supports it.

Python itself isn't the problem here. It is MSBuild.exe. For some reason 
this tool lowercases sometimes whole paths to files included. This does 
not matter if case sensitivity is disabled. It matters if case 
sensitivity is enabled! There is no reason MSBUild.exe does it. But it 
is done for some paths (as someone else pointed out).

> 
> Regards,
> 
> --
> Inada Naoki  <songofacandy at gmail.com>

-- 
Thomas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature
Type: application/pgp-signature
Size: 321 bytes
Desc: OpenPGP digital signature
URL: <https://mail.python.org/pipermail/python-list/attachments/20230615/ac629428/attachment.sig>


More information about the Python-list mailing list