Jakub Wilk <jw...@jwilk.net> added the comment: Ugh. Please disregard the first message. What I wanted to write is:
In Python 3.1.3, curses.tigetstr() returns bytes (which makes sense), but curses.tparm() expects a Unicode string as first argument. As a consequence even the example given in the documentation doesn't work: >>> from curses import * >>> setupterm() >>> tparm(tigetstr("cup"), 5, 3) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: must be string, not bytes ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue10570> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com