revisiting the "What am I running on?" question

songbird songbird at anthive.com
Fri Feb 22 07:55:55 EST 2019


eryk sun wrote:
...
> The win-amd64 ABI is significantly different, but at the API level
> there isn't a drastic difference between 32-bit and 64-bit Windows, so
> there's no cognitive burden with perpetuating the Win32 name. The
> official API name was actually changed to "Windows API" or WINAPI (or
> WinAPI). But it would require a massive effort to change the culture.
> There's no pressing need to expend that much time and energy over a
> name.

  just adding a comment to the documentation that
win32 also covers win64 would be a help IMO.

  for those who are using the startswith syntax 
and checking for "win" alone then you could change 
the string returned to "win32-win64" or some other
string with the prefix "win" and it would still 
work with no changes needed.


  songbird


More information about the Python-list mailing list