Note: I hadn't considered until writing the commit that you meant
supporting both Py2 AND Py3. If that's the goal, this doesn't do that...
Everything seems to be working with very minimal changes.
1) One use of str.decode, which Py3 doesn't support. Removed.
2) Some imports changed
3) Module loading is slightly different, so secrets import is different
as well
4) raw_input() became input()
Fixes #13
Note: I hadn't considered until writing the commit that you meant supporting both Py2 AND Py3. If that's the goal, this doesn't do that...
Everything seems to be working with very minimal changes.
1) One use of str.decode, which Py3 doesn't support. Removed. 2) Some imports changed 3) Module loading is slightly different, so secrets import is different as well 4) raw_input() became input()