Author vstinner
Recipients jwilk, klausman, nadeem.vawda, petri.lehtinen, python-dev, vstinner
Date 2011-11-02.22:48:08
SpamBayes Score 2.53053e-06
Marked as misclassified No
Message-id <1320274089.6.0.756633015743.issue10570@psf.upfronthosting.co.za>
In-reply-to
Content
"I don't believe that the first parameter to tparm() (the format string) is ever constructed by hand, because it's terminal specific. The value is obtained from the terminfo database by calling tigetstr() instead. Furthermore, tigetstr() returns binary data, for which bytes is the only sane representation, and therefore tparm() should expect bytes instead of str."

Ok, it sounds to be fair. I wrote a patch based on yours (except that Python crashes with your patch :-)).
History
Date User Action Args
2011-11-02 22:48:09vstinnersetrecipients: + vstinner, nadeem.vawda, jwilk, klausman, python-dev, petri.lehtinen
2011-11-02 22:48:09vstinnersetmessageid: <1320274089.6.0.756633015743.issue10570@psf.upfronthosting.co.za>
2011-11-02 22:48:09vstinnerlinkissue10570 messages
2011-11-02 22:48:08vstinnercreate