STINNER Victor added the comment: New patch fixing the issue with a better API: window.get_wch()->int or str depending on the key (int for key codes, str for other keys).
Oh, I realized that test_curses does also fail on my laptop without the patch. My laptop is running Fedora 11 which uses libncurses 5.7. This version is old and has known bugs. So the "unget_wch" issue is maybe unrelated. ---------- Added file: http://bugs.python.org/file27038/curses_get_wch-2.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue15785> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com