FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [View Raw Code]   [Original HTTPS Page]

python-future/docs/dev_notes.rst at master · dev-zero/python-future · GitHub

Latest commit

 

History

History
23 lines (16 loc) · 618 Bytes

File metadata and controls

23 lines (16 loc) · 618 Bytes

Notes

This module only supports Python 2.6, Python 2.7, and Python 3.1+.

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

TODO: Check out these: Not available on Py2.6:

unittest2 -> unittest? buffer -> memoryview?

Back | FazBrowse Home | New Git URL