diff --git a/Python3.md b/Python3.md index ba690f6..b8b92d4 100644 --- a/Python3.md +++ b/Python3.md @@ -1,7 +1,5 @@ # Porting to Python 3 -This is still a proposal at this stage. - ## Motivation * Make code behave the same on Python 2 and Python 3, insofar as one can, so e.g. `map()` is the same on Python 2 and Python 3 (i.e. lazy). @@ -12,7 +10,7 @@ This is still a proposal at this stage. TBD, something involving core abstractions first, then dependency graph topological traversal. -Assume for now we've picked a module. +At the moment we're focusing on just porting `allmydata.util`, since it's necessary for other packages. ## The porting process, big picture @@ -72,4 +70,8 @@ In particular: * `map()`, `filter()`, etc. are now lazy. * `dict.keys()` and friends now return a view of the underlying data, rather than a list with a copy. -**Fifth**, add a note to the module docstring saying it was ported to Python 3. \ No newline at end of file +**Fifth**, add a note to the module docstring saying it was ported to Python 3. + +### Other notes + +If you just want to run the tests from the explicitly ported test modules, you can do `python -m allmydata.util._python3`.