Porting Smart to Python3000

Anders F Björklund afb at algonet.se
Sun Mar 11 07:05:46 PDT 2012


As an experiment, I ported Smart to Python3 using 2to3 and 2to3c...

There were *lots* of things to clean up afterwards, mostly related
to strings (bytes vs unicode) and sorting (compare vs richcompare)

https://code.launchpad.net/~smartpm/smart/py3k

The GUI has not been ported yet, it needs to be moved from PyGTK to
PyGObject3 and updated for PyQt4. Support for qt and kde was removed.

It is *not* possible to keep a single source for Python and Python3.

--anders




More information about the Smart mailing list