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 vstinner
Recipients Nicholas.Cole, akuchling, cben, gpolo, inigoserna, python-dev, r.david.murray, schodet, vstinner, zeha
Date 2011-07-14.22:45:55
SpamBayes Score 2.6301294e-11
Marked as misclassified No
Message-id <1310683556.65.0.132149602078.issue6755@psf.upfronthosting.co.za>
In-reply-to
Content
> I don't really know what is still required

_cursesmodule.311.get_wch.patch doesn't apply correctly on Python 3.3 and use PyInt_FromLong() function, function removed from Python 3.0. Indeed, Iñigo wrote that the patch was not tested.

> what is the hold up?

Nobody wanted to take the responsability of the choice for get_wch(): add a new method or patch getch() ;-)

--

I commited Iñigo's patch to add window.get_wch() method with minor changes:

 - add :versionadded: 3.3 in the doc
 - document the new method What's new in Python 3.3 document
 - fix an error message: getch => get_wch
 - change error message (if ch==ERROR): "get_wch failed" => "no input" (message copied from the getch function)

--

I think that the Unicode support of curses in Python 3 is just completly broken: I opened a new issue for that, issue #12567.

I also create the issue #12568 to add a function to get the width of a character.
History
Date User Action Args
2011-07-14 22:45:56vstinnersetrecipients: + vstinner, akuchling, cben, gpolo, r.david.murray, inigoserna, zeha, schodet, python-dev, Nicholas.Cole
2011-07-14 22:45:56vstinnersetmessageid: <1310683556.65.0.132149602078.issue6755@psf.upfronthosting.co.za>
2011-07-14 22:45:56vstinnerlinkissue6755 messages
2011-07-14 22:45:55vstinnercreate