[experimental] support Python 2 with fewer warts
Project description
The future module helps run Python 3.x-compatible code under Python 2.
It allows people to write clean, modern Python 3.x-compatible code today and to run it with minimal effort under Python 2 alongside a Python 2 stack that may contain dependencies that have not yet been ported to Python 3.
It is designed to be used as follows:
from __future__ import division, absolute_import, print_function from future import common_iterators, super, disable_obsolete_builtins
- Eventually, we may also support this:
from future import standard_library
to bring in the new module names from the Python 3 standard library.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
future-0.0.2.tar.gz
(9.2 kB
view hashes)