1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
3 NAMEBASE= python-future
7 SDESC[v11]= Compatibility layer for python 2 apps (3.11)
8 SDESC[v12]= Compatibility layer for python 2 apps (3.12)
9 HOMEPAGE= https://python-future.org
10 CONTACT= Python_Automaton[python@ironwolf.systems]
13 SITES[main]= PYPI/f/future
14 DISTFILE[1]= future-0.18.3.tar.gz:main
19 OPTIONS_AVAILABLE= PY311 PY312
20 OPTIONS_STANDARD= none
21 VOPTS[v11]= PY311=ON PY312=OFF
22 VOPTS[v12]= PY311=OFF PY312=ON
26 DISTNAME= future-0.18.3
28 CPE_PRODUCT= python-future
30 CPE_VENDOR= pythoncharmers
33 [PY311].USES_ON= python:v11,sutools
35 [PY312].USES_ON= python:v12,sutools
37 [FILE:2590:descriptions/desc.single]
38 future: Easy, safe support for Python 2/3 compatibility
39 =======================================================
41 future is the missing compatibility layer between Python 2 and Python
42 3. It allows you to use a single, clean Python 3.x-compatible codebase to
43 support both Python 2 and Python 3 with minimal overhead.
45 It is designed to be used as follows::
47 from __future__ import (absolute_import, division,
48 print_function, unicode_literals)
49 from builtins import (
50 bytes, dict, int, list, object, range, str,
51 ascii, chr, hex, input, next, oct, open,
55 followed by predominantly standard, idiomatic Python 3 code that then runs
56 similarly on Python 2.6/2.7 and Python 3.3+.
58 The imports have no effect on Python 3. On Python 2, they shadow the
59 corresponding builtins, which normally have different semantics on Python 3
60 versus 2, to provide their Python 3 semantics.
62 Standard library reorganization
63 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
65 future supports the standard library reorganization (PEP 3108) through the
66 following Py3 interfaces:
68 >>> # Top-level packages with Py3 names provided on Py2:
69 >>> import html.parser
71 >>> import tkinter.dialog
72 >>> import xmlrpc.client
75 >>> # Aliases provided for extensions to existing Py2 module names:
76 >>> from future.standard_library import install_aliases
79 >>> from collections import Counter, OrderedDict # backported to
81 >>> from collections import UserDict, UserList, UserString
82 >>> import urllib.request
83 >>> from itertools import filterfalse, zip_longest
84 >>> from subprocess import getoutput, getstatusoutput
89 An included script called [futurize
91 code (from either Python 2 or Python 3) to code compatible with both
92 platforms. It is similar to ``python-modernize but goes further in
93 providing Python 3 compatibility through the use of the backported types
94 and builtin functions in future``.
99 See: http://python-future.org
104 :Author: Ed Schofield, Jordan M. Adler, et al
105 :Sponsor: Python Charmers Pty Ltd, Australia, and Python Charmers Pte
106 Ltd, Singapore. http://pythoncharmers.com
107 :Others: See docs/credits.rst or http://python-future.org/credits.html
111 Copyright 2013-2019 Python Charmers Pty Ltd, Australia.
112 The software is distributed under an MIT licence. See LICENSE.txt.
116 34a17436ed1e96697a86f9de3d15a3b0be01d8bc8de9c1dffd59fb8234ed5307 840896 future-0.18.3.tar.gz