Path: csiph.com!x330-a1.tempe.blueboxinc.net!newsfeed.hal-mli.net!feeder1.hal-mli.net!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.016 X-Spam-Evidence: '*H*': 0.97; '*S*': 0.00; 'c++,': 0.07; 'pep': 0.07; 'optionally': 0.09; 'pm,': 0.11; 'wrote:': 0.14; 'c89...': 0.16; 'preprocessor': 0.16; 'cc:no real name:2**0': 0.20; 'cc:2**0': 0.20; 'cheers,': 0.20; 'header:In-Reply-To:1': 0.22; 'cc:addr :python-list': 0.22; 'thu,': 0.22; 'encouraging': 0.23; 'detect': 0.25; 'says': 0.25; 'instead': 0.26; 'chris': 0.27; 'message- id:@mail.gmail.com': 0.28; 'explicitly': 0.29; 'cc:addr:python.org': 0.31; 'subject:/': 0.36; 'run': 0.37; 'received:google.com': 0.38; 'availability': 0.39; 'would': 0.40; 'header:Received:5': 0.40; 'subject:more': 0.60; '2011': 0.62; 'received:74.125.83': 0.69; 'risk': 0.75; 'subject:its': 0.84 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rebertia.com; s=google; h=domainkey-signature:mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=opSOzIUCJ6cz+a9BYRbKPW/y9uGf1jnlzzDCCxYnqpM=; b=WfsJ8zl/eQ2iIb8wJU8j6hS3dAtnuilsVD4LDjNVKEY45mLcLLbjXdDLMq0odZB17Y j1WZh+BvdWxhs1tRc2u8o6bWT6ismOY5dGyhVByiy9Hzv09iDtIqIUriwdmTCSngknEw QihS3rJbUVA+k7V4EE4fUiZgONq4pAGy11E74= DomainKey-Signature: a=rsa-sha1; c=nofws; d=rebertia.com; s=google; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=Fk60efMDbqCku/fzL8ho3wrlrt4qnShw224Lc/Qax3PSupG9txd/iJ12QoagplSHMf HH1gW3PuNXxnN+NU/rPIfTiF2GrApkoZXp1fwiOvM8gKP1yro1Nm4UeS3Al+bm8ZG6DM WVn2w2oyLkbDnty4OMSdZmqqs0/CeUJlpqQ24= MIME-Version: 1.0 Sender: chris@rebertia.com In-Reply-To: References: Date: Thu, 5 May 2011 18:11:23 -0700 X-Google-Sender-Auth: nQioxYFN_iTPGJoUgimXbZsqC8Q Subject: Re: Py_XDECREF/Py_DECREF evaluating its argument more than once From: Chris Rebert To: Chris Angelico Content-Type: text/plain; charset=UTF-8 Cc: python-list@python.org X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 11 NNTP-Posting-Host: 82.94.164.166 X-Trace: 1304644286 news.xs4all.nl 81473 [::ffff:82.94.164.166]:58594 X-Complaints-To: abuse@xs4all.nl Xref: x330-a1.tempe.blueboxinc.net comp.lang.python:4787 On Thu, May 5, 2011 at 5:59 PM, Chris Angelico wrote: > 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