[Python-Dev] Re: Deprecate support for mingw - add to PEP 11

2021-02-22 Thread reiter . christoph
In case anyone is wondering what mingw-w64-python is referring to: https://packages.msys2.org/base/mingw-w64-python The MSYS2 project [0] maintains a CPython variant that builds with gcc/clang+mingw-w64 on Windows. We lack the manpower to reduce the diff to upstream though. The yearly rebuilds,

[Python-Dev] Re: Deprecate support for mingw - add to PEP 11

2021-02-22 Thread Victor Stinner
pybind11 is a famous C++ extension module for Python. Yes, the Python C API is usable in C++ thanks to extern "C" { ... } being used in headers. Victor On Sun, Feb 21, 2021 at 6:59 PM Dan Stromberg wrote: > > > It looks like CPython remains 100% C, so clang becomes more attractive: > https://st

[Python-Dev] Re: Deprecate support for mingw - add to PEP 11

2021-02-21 Thread Emily Bowman
On Sun, Feb 21, 2021 at 10:02 AM Dan Stromberg wrote: > > It looks like CPython remains 100% C, so clang becomes more attractive: > > https://stackoverflow.com/questions/6329688/llvm-and-visual-studio-obj-binary-incompatibility > > Then again, do we allow C++ extension modules? That might make C

[Python-Dev] Re: Deprecate support for mingw - add to PEP 11

2021-02-21 Thread Dan Stromberg
It looks like CPython remains 100% C, so clang becomes more attractive: https://stackoverflow.com/questions/6329688/llvm-and-visual-studio-obj-binary-incompatibility Then again, do we allow C++ extension modules? That might make C++ more relevant, even if CPython itself is purely C. On Sat, Feb

[Python-Dev] Re: Deprecate support for mingw - add to PEP 11

2021-02-20 Thread Dan Stromberg
mingw-w64 might be a small change. But while one is it at, it might make sense to evaluate: https://clang.llvm.org/docs/MSVCCompatibility.html Apparently clang on Windows is working on calling convention compatibility with Visual Studio. On Sat, Feb 20, 2021 at 8:37 PM wrote: > I think perhaps