Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #46328
| 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 | <carlosnepomuceno@outlook.com> |
| 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 <carlosnepomuceno@outlook.com> |
| To | "python-list@python.org" <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 <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.2317.1369770400.3114.python-list@python.org> (permalink) |
| 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 |
Show key headers only | View raw
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?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Python #ifdef Carlos Nepomuceno <carlosnepomuceno@outlook.com> - 2013-05-28 22:46 +0300 Re: Python #ifdef 88888 Dihedral <dihedral88888@gmail.com> - 2013-05-28 16:04 -0700
csiph-web