2 May 2010 23:55
Urwid for Python 3
Kirk McDonald <kirklin.mcdonald <at> gmail.com>
2010-05-02 21:55:34 GMT
2010-05-02 21:55:34 GMT
I have ported Urwid to Python 3. The unit tests pass, and all of the example scripts work. It may be found here:
http://bitbucket.org/kirkmcdonald/urwid-py3k/
There are caveats:
The curses back-end does not work. The semantics of the curses module are slightly different in Python 3, and I have not bothered to work around these changes, yet. Specifically, the Python 3 version of curses wants to operate on Unicode strings, and it insists on encoding these strings in UTF-8. Therefore, the curses back-end could be made to work as long as the current encoding actually is UTF-8, but I have not yet bothered to fix it.
I have not tested either of the GLib or the Twisted event loops. (I don't even think either of these libraries have Python 3 versions.) I flagged the relevant doctests with "+SKIP".
_______________________________________________ Urwid mailing list Urwid <at> lists.excess.org http://lists.excess.org/mailman/listinfo/urwid
RSS Feed