Author jwilk
Recipients jwilk
Date 2010-11-29.08:44:04
SpamBayes Score 1.06845e-06
Marked as misclassified No
Message-id <1291020247.48.0.488732933716.issue10570@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2010-11-29 08:44:07jwilksetrecipients: + jwilk
2010-11-29 08:44:07jwilksetmessageid: <1291020247.48.0.488732933716.issue10570@psf.upfronthosting.co.za>
2010-11-29 08:44:04jwilklinkissue10570 messages
2010-11-29 08:44:04jwilkcreate