[Python-Dev] getch() in msvcrt does not accept extended characters.

Aahz aahz at pythoncraft.com
Fri Jul 1 14:48:14 CEST 2005


On Fri, Jul 01, 2005, Darryl Dixon wrote:
>
> Is it worth sending in a patch to the sourceforge patch-tracker
> implementing this?  Is it OK for msvcrt_getch to return Unicode when
> appropriate?

Let's put it this way: you probably won't get much in the way of forward
motion on this unless you do post a patch.  It passes the smell test of
not being horribly unPythonic, if that's what you want to know.  Note
that you're likely to be required to add a new function with this
feature, but that can be argued later.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

f u cn rd ths, u cn gt a gd jb n nx prgrmmng.


More information about the Python-Dev mailing list