Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #76172
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!goblin2!goblin.stu.neva.ru!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <ed@pythoncharmers.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.003 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'pycon': 0.01; 'subject:Python': 0.06; 'subject:code': 0.07; 'versions.': 0.07; 'url:github': 0.09; 'sfxlen:2': 0.11; 'python': 0.11; 'changes': 0.15; 'break-word;': 0.16; 'edward': 0.16; 'pdf:': 0.16; 'space;': 0.16; 'subject:compatible': 0.16; 'url:whatsnew': 0.16; 'word- wrap:': 0.16; 'helvetica;': 0.16; 'all,': 0.19; 'subject:] ': 0.20; '<div': 0.24; 'source': 0.25; 'subject:/': 0.26; 'to:2**1': 0.27; '0);': 0.29; 'to:no real name:2**1': 0.29; 'code': 0.31; 'requests': 0.31; 'compatible': 0.32; 'announce': 0.33; 'rgb(0,': 0.33; 'received:209.85': 0.35; 'received:google.com': 0.35; 'add': 0.35; 'wishes,': 0.36; 'url:org': 0.36; 'skip:- 20': 0.37; 'received:209': 0.37; 'auto;': 0.38; 'weekend': 0.38; 'to:addr :python-list': 0.38; 'skip:- 10': 0.38; 'subject:[': 0.39; 'to:addr:python.org': 0.39; 'called': 0.40; 'url:%20': 0.61; 'new': 0.61; 'here:': 0.62; 'header:Message-Id:1': 0.63; 'charset:windows-1252': 0.65; 'url:pdf': 0.68; 'dr.': 0.77; 'url:master': 0.84 |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:content-type:subject:message-id:date:to :mime-version; bh=Gk18BT+hmxpGj9Trx7EZNarhBehh/bp2Z21tO/khSKc=; b=Zmr+2uo9WwDQ59tTYP3+sBqiEFqvCVJ9UtmSqmfjhFKXNe5Ilq1Riivya3hq8h1z1W PrCHGVlM2JvjNFzRNU5rgZkdqyNp5vgQICjWN6hWDOpenIuOLgZn6IdbeOLtaufmPwiI zC7s4+fYv5o/LXGsejTqpV/kJL4wgafth/t1ge1opodTg9ZXxzNKTs/27GnlVdq2IYDR S6q9o2bHmwrTjwLAVXoX8fNU8wMNLODeNqI+sN3keHa2DWi1lO9YsKtw3YZOffUWFUXY nbvzUG+s7ZZpCt61I/M6b/EK7Bs1tX1BcKo7gVlb37M/rN8fP7SvDu0wCKwI3ZmOv5Hs DPrw== |
| X-Gm-Message-State | ALoCoQk17987G80GmeC85Lp1469E6FKoACthSgZz1IHslGHAqvs9uuG8r2xsNZAOWolHOw8vnNOT |
| X-Received | by 10.70.127.133 with SMTP id ng5mr1654683pdb.80.1407900490299; Tue, 12 Aug 2014 20:28:10 -0700 (PDT) |
| From | Ed Schofield <ed@pythoncharmers.com> |
| Content-Type | multipart/alternative; boundary="Apple-Mail=_3B3816E1-285A-4A04-9E47-C98099909A84" |
| Subject | [Announce] Python-Future v0.13; cheatsheet for Python 2/3 compatible code |
| Date | Wed, 13 Aug 2014 13:28:03 +1000 |
| To | python-porting@python.org, python-list@python.org |
| Mime-Version | 1.0 (Mac OS X Mail 7.3 \(1878.6\)) |
| X-Mailer | Apple Mail (2.1878.6) |
| X-Mailman-Approved-At | Wed, 13 Aug 2014 08:32:04 +0200 |
| 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 | <https://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 | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.12910.1407911525.18130.python-list@python.org> (permalink) |
| Lines | 116 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1407911525 news.xs4all.nl 2927 [2001:888:2000:d::a6]:42160 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:76172 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
Hi all,
I am happy to announce an update to Python-Future for Python 2/3 compatibility and a new cheat-sheet for writing code compatible with both versions.
Here’s the "What’s New" page for v0.13:
http://python-future.org/whatsnew.html
Here’s the Py2/3 compatibility cheat-sheet:
http://python-future.org/compatible_idioms.html
or as a PDF:
http://python-future.org/compatible_idioms.pdf
The cheat-sheet accompanies a talk I gave at PyCon AU 2014 last weekend called “Writing Python 2/3 compatible code”. I will add a link to the video and slides from the cheat-sheet page when they are online.
I would be happy to accept pull requests for additions or changes to the Py2/3 cheat-sheet. The source is here:
https://github.com/PythonCharmers/python-future/blob/master/docs/notebooks/Writing%20Python%202-3%20compatible%20code.ipynb
Best wishes,
Ed
--
Dr. Edward Schofield
Python Charmers
http://pythoncharmers.com
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
[Announce] Python-Future v0.13; cheatsheet for Python 2/3 compatible code Ed Schofield <ed@pythoncharmers.com> - 2014-08-13 13:28 +1000 Re: [Announce] Python-Future v0.13; cheatsheet for Python 2/3 compatible code Steven D'Aprano <steve@pearwood.info> - 2014-08-13 08:31 +0000
csiph-web