summaryrefslogtreecommitdiffstats
path: root/FOSS/Python/Dependencies/future-0.18.2/docs/dev_notes.rst
blob: 6985bca4d95d51677979d8baa6c5169e7b66de63 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Notes
-----
This module only supports Python 2.7, and Python 3.4+.

The following renames are already supported on Python 2.7 without any
additional work from us::

    reload() -> imp.reload()
    reduce() -> functools.reduce()
    StringIO.StringIO -> io.StringIO
    Bytes.BytesIO -> io.BytesIO

Old things that can one day be fixed automatically by futurize.py::

  string.uppercase -> string.ascii_uppercase   # works on either Py2.7 or Py3+
  sys.maxint -> sys.maxsize      # but this isn't identical