roadmap.rst 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. Development roadmap
  2. ===================
  3. futurize script
  4. ---------------
  5. 1. "Safe" mode -- from Py2 to modern Py2 or Py3 to more-compatible Py3
  6. - Split the fixers into two categories: safe and bold
  7. - Safe is highly unlikely to break existing Py2 or Py3 support. The
  8. output of this still requires :mod:`future` imports. Examples:
  9. - Compatible metaclass syntax on Py3
  10. - Explicit inheritance from object on Py3
  11. - Bold might make assumptions about which strings on Py2 should be
  12. unicode strings and which should be bytestrings.
  13. - We should also build up a database of which standard library
  14. interfaces on Py2 and Py3 accept unicode strings versus
  15. byte-strings, which have changed, and which haven't.
  16. 2. Windows support
  17. future package
  18. --------------
  19. - [Done] Add more tests for bytes ... preferably all from test_bytes.py in Py3.3.
  20. - [Done] Add remove_hooks() and install_hooks() as functions in the
  21. :mod:`future.standard_library` module. (See the uprefix module for how
  22. to do this.)
  23. Experimental:
  24. - Add::
  25. from future import bytes_literals
  26. from future import new_metaclass_syntax
  27. from future import new_style_classes
  28. - [Done] Maybe::
  29. from future.builtins import str
  30. should import a custom str is a Py3 str-like object which inherits from unicode and
  31. removes the decode() method and has any other Py3-like behaviours
  32. (possibly stricter casting?)