[Python-Dev] cpython (3.6): replace usage of Py_VA_COPY with the (C99) standard va_copy
Benjamin Peterson
benjamin at python.org
Sat Sep 24 04:07:21 EDT 2016
On Fri, Sep 23, 2016, at 09:32, Steven D'Aprano wrote:
> On Thu, Sep 22, 2016 at 11:47:20PM -0700, Benjamin Peterson wrote:
> >
> > On Thu, Sep 22, 2016, at 04:44, Victor Stinner wrote:
> > > 2016-09-22 8:02 GMT+02:00 Benjamin Peterson <benjamin at python.org>:
> > > > Just dump the compat macros in Python 4.0 I think.
> > >
> > > Please don't. Python 3 was so painful because we decided to make
> > > millions of tiny backward incompatible changes. To have a smooth
> > > Python 4.0 release, we should only remove things which were already
> > > deprecated since at least 2 cycles, and well documented as deprecated.
> >
> > I'm being flippant here because of the triviality of the change. Anyone
> > using Py_VA_COPY or Py_MEMCPY can fix their code in a backwards and
> > forwards compatible manner in 7 seconds with a sed command.
>
> Sorry, I haven't been following this thread in detail, so perhaps I've
> misunderstood. Are you assuming that anyone who is building Python from
> source is automatically able to diagnose C level build failures and
> known how to fix them using sed?
I am assuming authors of CPython extensions possess those skills.
More information about the Python-Dev
mailing list