Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder1.xlned.com!newsfeed.xs4all.nl!newsfeed1.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.060 X-Spam-Evidence: '*H*': 0.89; '*S*': 0.01; 'subject:Python': 0.06; 'python': 0.11; 'possible?': 0.16; 'to:name:python- list@python.org': 0.22; 'received:65.55.116': 0.24; 'file.': 0.24; 'mix': 0.30; 'code': 0.31; "skip:' 10": 0.31; "i'd": 0.34; 'something': 0.35; 'there': 0.35; 'to:addr:python-list': 0.38; 'to:addr:python.org': 0.39; 'subject: #': 0.96 X-TMN: [e06w03raqv4CMWI3IUUT5gdIFwHhwl1M] X-Originating-Email: [carlosnepomuceno@outlook.com] From: Carlos Nepomuceno To: "python-list@python.org" Subject: Python #ifdef Date: Tue, 28 May 2013 22:46:37 +0300 Importance: Normal Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginalArrivalTime: 28 May 2013 19:46:38.0028 (UTC) FILETIME=[113A28C0:01CE5BDC] 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: 6 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1369770400 news.xs4all.nl 15903 [2001:888:2000:d::a6]:40527 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:46328 Are there Python 'preprocessor directives'?=0A= =0A= I'd like to have something like '#ifdef' to mix code from Python 2 and 3 in= a single file.=0A= =0A= Is that possible? How? =