Confirmed users
656
edits
(Add a rough plan) |
|||
| Line 29: | Line 29: | ||
* Make sure you can test the code you're working on with python3! | * Make sure you can test the code you're working on with python3! | ||
** If using `tox`, then adding `py35`, and `py36` to the list of environments should be sufficient | ** If using `tox`, then adding `py35`, and `py36` to the list of environments should be sufficient | ||
** If using |mach python-test|, make sure the relevant manifest doesn't skip-if Python 3 and run |mach python-test --python 3|. | |||
* [http://python-future.org/futurize.html#stage-1-safe-fixes `futurize`]` can be used to transform code into code that's compatible with both python2.7 and python3 | * [http://python-future.org/futurize.html#stage-1-safe-fixes `futurize`]` can be used to transform code into code that's compatible with both python2.7 and python3 | ||
* The `six` module is available in-tree, feel free to use it as a dependency | * The `six` module is available in-tree, feel free to use it as a dependency | ||