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


Groups > comp.lang.python.announce > #1138

Pies v 2.0.0 released - Run Python 3 code on python 2 Unchanged!

Path csiph.com!usenet.pasdenom.info!aioe.org!news.stack.nl!newsfeed.xs4all.nl!newsfeed2.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <news@google.com>
X-Original-To python-announce@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.159
X-Spam-Level *
X-Spam-Evidence '*H*': 0.76; '*S*': 0.07; 'syntax': 0.04; 'subject:Python': 0.06; 'python3': 0.07; 'subject:code': 0.07; 'subject:released': 0.07; 'api': 0.11; 'python': 0.11; 'subject:python': 0.16; 'code.': 0.18; 'header:User-Agent:1': 0.23; 'adds': 0.24; 'necessary.': 0.24; 'looks': 0.24; 'code': 0.31; 'aims': 0.31; 'bunch': 0.31; 'layer': 0.31; 'running': 0.33; 'received:209.85': 0.35; 'objects': 0.35; 'received:google.com': 0.35; 'should': 0.36; 'received:209': 0.37; 'starting': 0.37; 'from:no real name:2**0': 0.61; 'providing': 0.61; 'back': 0.62; 'to:addr:comp-lang-python-announce': 0.70; 'received:130': 0.73; 'special': 0.74; 'to:addr:moderators.isc.org': 0.77; 'received:130.133': 0.83; 'received:130.133.4': 0.83; 'received:130.133.4.7': 0.83; 'received:individual.net': 0.83; 'received:moderators.individual.net': 0.83; 'calls,': 0.84; 'received:209.85.214.198': 0.84; 'received:mail- ob0-f198.google.com': 0.84; 'absolutely': 0.87
X-Google-DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=path:newsgroups:date:complaints-to:injection-info:nntp-posting-host :user-agent:mime-version:message-id:subject:from:injection-date:to :content-type:content-transfer-encoding; bh=baVRXRG0i2QY66Wv3S7DJgABYMjqF1jnHMWioXaTggY=; b=b9wsosCVM9s2uoRcu0j0Rt/JkbSm5jzptYmmwJxzLPZqrHLcMVHLd7Q3FLytiQtri0 DoaJGdsP4nE4fH0eLI9SKjg/CIEgGVj4LX7YGbFSTJo5WZ5ZzTGPCvK54ifFjefyQ5pF 70d/5mZcRoIpyafOLjb87fkOPMYJQikM7fwursha+UWYNpHd43OVmE5MwbRNXZeSZ0ZS PAs4SWdowFuTdobZXGb4ozJyTo+J87qwVNLReVPU6N7hyp/qRgrttUvynEYY2+RIG79R XVKR6PwnpE/8kD0/R9Kh+2r+zhF4vRG5j7lZe3lxy/wye9Ah0tvUxDiWKzbPSituleNH d52w==
X-Received by 10.182.105.227 with SMTP id gp3mr1633733obb.23.1384471082834; Thu, 14 Nov 2013 15:18:02 -0800 (PST)
X-Received by 10.182.111.170 with SMTP id ij10mr56257obb.18.1384471082603; Thu, 14 Nov 2013 15:18:02 -0800 (PST)
Newsgroups comp.lang.python.announce
Date Thu, 14 Nov 2013 15:18:02 -0800 (PST)
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=98.218.242.119; posting-account=KESGaQoAAAAUwHSh48hO76UGgX5nM5x1
User-Agent G2/1.0
MIME-Version 1.0
Subject Pies v 2.0.0 released - Run Python 3 code on python 2 Unchanged!
From timothy.crosley@gmail.com
Injection-Date Thu, 14 Nov 2013 23:18:02 +0000
To comp-lang-python-announce@moderators.isc.org
Content-Type text/plain; charset=ISO-8859-1
Content-Transfer-Encoding quoted-printable
X-Mailman-Approved-At Fri, 15 Nov 2013 11:12:02 +0100
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.15
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <https://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list/>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <https://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Message-ID <mailman.2642.1384510323.18130.python-announce-list@python.org> (permalink)
Lines 8
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1384510323 news.xs4all.nl 15943 [2001:888:2000:d::a6]:47173
X-Complaints-To abuse@xs4all.nl
Xref csiph.com comp.lang.python.announce:1138

Show key headers only | View raw


Pies is a Python2 & 3 Compatibility layer with the philosophy that all code should be Python3 code. Starting from this viewpoint means that when running on Python3 pies adds virtually no overhead.

Instead of providing a bunch of custom methods (leading to Python code that looks out of place on any version) pies aims to back port as many of the Python3 API calls, imports, and objects to Python2 - Relying on special syntax only when absolutely necessary.

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

Pies v 2.0.0 released - Run Python 3 code on python 2 Unchanged! timothy.crosley@gmail.com - 2013-11-14 15:18 -0800

csiph-web