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


Groups > comp.lang.python > #76172

[Announce] Python-Future v0.13; cheatsheet for Python 2/3 compatible code

From Ed Schofield <ed@pythoncharmers.com>
Subject [Announce] Python-Future v0.13; cheatsheet for Python 2/3 compatible code
Date 2014-08-13 13:28 +1000
Newsgroups comp.lang.python
Message-ID <mailman.12910.1407911525.18130.python-list@python.org> (permalink)

Show all headers | 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 | NextNext in thread | Find similar | Unroll thread


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