This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author doko
Recipients doko, eric.araujo, jwilk, tarek
Date 2010-11-29.07:22:43
SpamBayes Score 2.706275e-06
Marked as misclassified No
Message-id <1291015367.13.0.650924616336.issue10571@psf.upfronthosting.co.za>
In-reply-to
Content
that seems to be the wrong report. did you mean

Package: python3.1
Version: 3.1.2+20101012-1
Severity: normal

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 13:45:45eric.araujounlinkissue10571 messages
2010-11-29 07:22:47dokosetrecipients: + doko, tarek, jwilk, eric.araujo
2010-11-29 07:22:47dokosetmessageid: <1291015367.13.0.650924616336.issue10571@psf.upfronthosting.co.za>
2010-11-29 07:22:43dokolinkissue10571 messages
2010-11-29 07:22:43dokocreate