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


Groups > comp.lang.python > #46330

Re: Python #ifdef

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 <joel.goldstick@gmail.com>
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 <BLU176-W12FAFEA3C7AFD687855E04D7970@phx.gbl>
References <BLU176-W12FAFEA3C7AFD687855E04D7970@phx.gbl>
Date Tue, 28 May 2013 15:49:03 -0400
Subject Re: Python #ifdef
From Joel Goldstick <joel.goldstick@gmail.com>
To Carlos Nepomuceno <carlosnepomuceno@outlook.com>
Content-Type multipart/alternative; boundary=047d7bdc8524af61d604ddcc8ee7
Cc "python-list@python.org" <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 <python-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-list/>
List-Post <mailto:python-list@python.org>
List-Help <mailto:python-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Newsgroups comp.lang.python
Message-ID <mailman.2318.1369770916.3114.python-list@python.org> (permalink)
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

Show key headers only | View raw


[Multipart message — attachments visible in raw view] - view raw

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 Python 2 and 3
> in a single file.
>
> Is that possible? How?
> --
> http://mail.python.org/mailman/listinfo/python-list
>

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


Thread

Re: Python #ifdef Joel Goldstick <joel.goldstick@gmail.com> - 2013-05-28 15:49 -0400
  Re: Python #ifdef Neil Cerutti <neilc@norwich.edu> - 2013-05-28 20:00 +0000
    RE: Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 23:07 +0300
      Re: Python #ifdef Grant Edwards <invalid@invalid.invalid> - 2013-05-28 20:12 +0000
        RE: Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 23:22 +0300
          Re: Python #ifdef Grant Edwards <invalid@invalid.invalid> - 2013-05-28 20:42 +0000
            RE: Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 23:54 +0300
              Re: Python #ifdef Grant Edwards <invalid@invalid.invalid> - 2013-05-29 14:45 +0000
        RE: Python #ifdef Fábio Santos <fabiosantosart@gmail.com> - 2013-05-28 21:34 +0100
        RE: Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 23:48 +0300
        RE: Python #ifdef Fábio Santos <fabiosantosart@gmail.com> - 2013-05-28 23:51 +0100
    RE: Python #ifdef Benjamin Kaplan <benjamin.kaplan@case.edu> - 2013-05-28 13:14 -0700

csiph-web