python3-future – Clean single-source support for Python 3 and 2 - Python 3.x¶
- Related packages
- More information
- External resources
Future is the missing compatibility layer between Python 2 and Python 3. It allows one to use a single, clean Python 3.x-compatible codebase to support both Python 2 and Python 3 with minimal overhead.
The imports have no effect on Python 3. On Python 2, they shadow the corresponding builtins, which normally have different semantics on Python 3 versus 2, to provide their Python 3 semantics.
This package contains the Python 3.x module.
Distribution |
Base version |
Our version |
Architectures |
---|---|---|---|
Debian GNU/Linux 10.0 (buster) |
0.16.0-1 |
||
Debian GNU/Linux 11.0 (bullseye) |
0.18.2-5 |
||
Debian GNU/Linux 12.0 (bookworm) |
0.18.2-6 |
||
Debian GNU/Linux 9.0 (stretch) |
0.15.2-4 |
0.15.2-1~nd90+1 |
i386, amd64, sparc, armel |
Debian unstable (sid) |
0.15.2-1~nd+1 |
i386, amd64, sparc, armel |
|
Ubuntu 16.04 “Xenial Xerus” (xenial) |
0.15.2-1 |
||
Ubuntu 18.04 “Bionic Beaver” (bionic) |
0.15.2-4ubuntu2 |
||
Ubuntu 20.04 “Focal Fossa” (focal) |
0.18.2-2 |
||
Ubuntu 22.04 “Jammy Jellyfish” (jammy) |
0.18.2-5 |
||
Ubuntu 24.04 “Noble Numbat” (noble) |
0.18.2-6ubuntu2 |