Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #4787

Re: Py_XDECREF/Py_DECREF evaluating its argument more than once

References <BANLkTi=wV_Sm4KRCJTfORZFwWQYWxHU2Yw@mail.gmail.com> <BANLkTimOwTjtwWbYF7L-tN+SJADNRg65uA@mail.gmail.com>
Date 2011-05-05 18:11 -0700
Subject Re: Py_XDECREF/Py_DECREF evaluating its argument more than once
From Chris Rebert <clp2@rebertia.com>
Newsgroups comp.lang.python
Message-ID <mailman.1212.1304644286.9059.python-list@python.org> (permalink)

Show all headers | View raw


On Thu, May 5, 2011 at 5:59 PM, Chris Angelico <rosuav@gmail.com> wrote:
<snip>
> Since inline functions are a part of C99 as well as C++, would it be
> possible to have configure.sh detect its availability and optionally
> use that instead of preprocessor macros, or would this run the risk of
> encouraging trickily unportable code?

PEP 7 explicitly says to use C89...

Cheers,
Chris

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: Py_XDECREF/Py_DECREF evaluating its argument more than once Chris Rebert <clp2@rebertia.com> - 2011-05-05 18:11 -0700

csiph-web