]> granicus.if.org Git - python/commit
Close #14223: Fix window.addch(curses.ACS_HLINE)
authorVictor Stinner <victor.stinner@gmail.com>
Sat, 1 Sep 2012 13:00:34 +0000 (15:00 +0200)
committerVictor Stinner <victor.stinner@gmail.com>
Sat, 1 Sep 2012 13:00:34 +0000 (15:00 +0200)
commiteaaf9e924919d046d71403754c15524092a2c3f3
tree3e7dd0a0fb399305becdb622c87b5a955a29c16f
parent848cdfdf97f3671f75aa98438f228e36e7d0a310
Close #14223: Fix window.addch(curses.ACS_HLINE)

Fix window.addch() of the curses module for special characters like
curses.ACS_HLINE: the Python function addch(int) and addch(bytes) is now
calling the C function waddch()/mvwaddch() (as it was done in Python 3.2),
instead of wadd_wch()/mvwadd_wch(). The Python function addch(str) is still
calling the C function wadd_wch()/mvwadd_wch() if the Python curses is linked
to libncursesw.
Misc/NEWS
Modules/_cursesmodule.c