Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.mixmin.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!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.062 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.01; 'subject:Python': 0.06; 'cc:addr:python-list': 0.11; 'python': 0.11; 'possible?': 0.16; 'wrote:': 0.18; 'cc:addr:python.org': 0.22; 'file.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'mix': 0.30; 'message-id:@mail.gmail.com': 0.30; 'url:mailman': 0.30; 'code': 0.31; "skip:' 10": 0.31; 'url:python': 0.33; "i'd": 0.34; 'something': 0.35; 'received:google.com': 0.35; 'there': 0.35; 'url:listinfo': 0.36; 'url:org': 0.36; 'pm,': 0.38; 'url:mail': 0.40; 'skip:n 10': 0.64; 'subject: #': 0.96; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=py4UUpumjDPxOO8KxLFpV2w6cZl12NIePnbFvWMsV2o=; b=xIlrzv5E+MN0VrdEtEFFc8aHVGoYwBLP0Gb+umOwzSOqWs4u0c9jI7Ds2F9/Mu7MDp H3bUs7FfXx/wAdqTsrYiMbHTzamS2Iw53kzWhDU4HkJZnHdS4agMBHyIhBxge0+F3GQ+ 7u/zba1ubfQHTC+2PLEJfS/16yMBKYsZPo09YpUw/TZ7n8+pvp0OiBzzosUrWu8xGSkF CJL/x1Lkrncj3U/s/9CsxtKXdW/ZTOKlTEMFRM1wwPDmnP92GB6sxUynm0vySx0G+Nc3 ZNLs49QZaAOpB3LfQWXMiMXz5x4fO12cOL3+CTKg8yCaKlTUcHDSvQh4rhfv8zvopjwS vmog== MIME-Version: 1.0 X-Received: by 10.58.248.39 with SMTP id yj7mr18565828vec.53.1369770543765; Tue, 28 May 2013 12:49:03 -0700 (PDT) In-Reply-To: References: Date: Tue, 28 May 2013 15:49:03 -0400 Subject: Re: Python #ifdef From: Joel Goldstick To: Carlos Nepomuceno Content-Type: multipart/alternative; boundary=047d7bdc8524af61d604ddcc8ee7 Cc: "python-list@python.org" X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 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: 39 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369770916 news.xs4all.nl 15931 [2001:888:2000:d::a6]:49721 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46330 --047d7bdc8524af61d604ddcc8ee7 Content-Type: text/plain; charset=UTF-8 No On May 28, 2013 3:48 PM, "Carlos Nepomuceno" wrote: > Are there Python 'preprocessor directives'? > > I'd like to have something like '#ifdef' to mix code from Python 2 and 3 > in a single file. > > Is that possible? How? > -- > http://mail.python.org/mailman/listinfo/python-list > --047d7bdc8524af61d604ddcc8ee7 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable

No

On May 28, 2013 3:48 PM, "Carlos Nepomuceno= " <carlosnepomuceno= @outlook.com> wrote:
Are there Python 'preprocessor directives'?

I'd like to have something like '#ifdef' to mix code from Pytho= n 2 and 3 in a single file.

Is that possible? How?
--
http://mail.python.org/mailman/listinfo/python-list
--047d7bdc8524af61d604ddcc8ee7--