[issue6745] (curses) addstr() takes str in Python 3

Andreas Stührk report at bugs.python.org
Wed Nov 17 12:27:33 CET 2010


Andreas Stührk <andy-python at hammerhartes.de> added the comment:

Note that getkey() is broken, too. I attached a simple script to demonstrate that. If you run it and enter some non-ascii input, you can see that getkey() returns an utf-8 encoded str (in my utf-8 environment at least, I haven't check if it's always utf-8 or if it depends on the locale).

----------
Added file: http://bugs.python.org/file19623/getkey_sample.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6745>
_______________________________________


More information about the Python-bugs-list mailing list