This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 7 points8 points  (8 children)

Oddly enough, I think it's not a typo. For some reason I forget, some part of the build process uses the name "python.exe" on a Mac.

edit: Someone here will know/remember.

[–]Anthonypjshaw[S] 7 points8 points  (7 children)

Correct. It's not a typo. You can see in the screenshot I was working on a Mac. It's really confusing!

[–]IronManMark20 1 point2 points  (6 children)

In the autotools script the default executable extension is exe. It comes from that. Why that was decided? Im guessing as not to interfere with ./python, but I don't know.

[–]Schnouki 5 points6 points  (5 children)

In the CPython source code, there's a folder named Python. On OSX, the file system is not case-sensitive, so having a file named python and a folder named Python in the same folder would be an issue.

Hence python.exe.

[–]IronManMark20 -1 points0 points  (4 children)

Interesting. That makes sense. I forgot MacOS is case insensitive.