I had a quick shot at it. After going down the 2to3 road (and trying to get setup.py test to work sanely) I realised that this module can be made to work in 2.x and 3.x without 2to3.
See my pure3k branch. I dropped support for 2.4 and 2.5, but those can be re-added with a small amount of glue (__func__, __self__, next()).
The test-suite produces different numbers of nodes, but I assume that's expected?
Alternatively, to go the 2to3 route, it may help to have the documentation in a subdirectory.
I had a quick shot at it. After going down the 2to3 road (and trying to get setup.py test to work sanely) I realised that this module can be made to work in 2.x and 3.x without 2to3.
See my pure3k branch. I dropped support for 2.4 and 2.5, but those can be re-added with a small amount of glue (__func__, __self__, next()).
The test-suite produces different numbers of nodes, but I assume that's expected?
Alternatively, to go the 2to3 route, it may help to have the documentation in a subdirectory.