[Python-Dev] Start writing inlines rather than macros?

Antoine Pitrou solipsis at pitrou.net
Thu Feb 27 19:51:56 CET 2014


On Thu, 27 Feb 2014 17:22:37 +0000 (UTC)
Sturla Molden <sturla.molden at gmail.com> wrote:
> Brett Cannon <brett at python.org> wrote:
> 
> > The Visual Studio team has publicly stated they will never support C99,
> > so dropping C89 blindly is going to alienate a big part of our user base
> > unless we switch to C++ instead. I'm fine with trying to pull in C99
> > features, though, that we can somehow support in a backwards-compatible way with VS.
> 
> So you are saying that Python should use "the C that Visual Studio
> supports"? I believe Microsoft is not competent to define the C standard.
> If they cannot provide a compiler that is their bad. There are plenty of
> other standard-compliant compilers we can use, including Intel, clang and
> gcc (MinGW).

Other C compilers don't support all of C99, AFAIR. We sometimes get
such bug reports from e.g. AIX users.
I'd be all for accepting C99, ideally. But we must care about our
users' constraints.

Regards

Antoine.




More information about the Python-Dev mailing list