Author Nicholas.Cole
Recipients Nicholas.Cole, akuchling, cben, gpolo, inigoserna, jcea, phep, pitrou, python-dev, r.david.murray, schodet, vstinner, zeha
Date 2012-03-07.07:22:20
SpamBayes Score 9.46363e-10
Marked as misclassified No
Message-id <1331104941.45.0.241697290828.issue6755@psf.upfronthosting.co.za>
In-reply-to
Content
I hope that this is the right bug to file this on (I'm getting lost in all of the curses bugs!).

I'm testing out the 3.3a1, and I've run into the following issue.  On previous releases addch() could accept curses.ACS_HLINE and similar.

Attempting to use the same code now raises the exception:

OverflowError: byte doesn't fit in chtype.

I'm sure this is related to the new code that uses addwstr(), but currently code that used to work will crash.

I can't work out a fix myself, because I don't fully understand the problem, but I'm happy to provide sample code if it will help.

Nicholas
History
Date User Action Args
2012-03-07 07:22:21Nicholas.Colesetrecipients: + Nicholas.Cole, akuchling, jcea, cben, pitrou, vstinner, gpolo, r.david.murray, inigoserna, phep, zeha, schodet, python-dev
2012-03-07 07:22:21Nicholas.Colesetmessageid: <1331104941.45.0.241697290828.issue6755@psf.upfronthosting.co.za>
2012-03-07 07:22:20Nicholas.Colelinkissue6755 messages
2012-03-07 07:22:20Nicholas.Colecreate