Roundup Robot added the comment:
New changeset d6d632f254ee by Victor Stinner in branch 'default':
Close #14223: Fix window.addch(curses.ACS_HLINE)
http://hg.python.org/cpython/rev/d6d632f254ee
--
___
Python tracker rep...@bugs.python.org
Nicholas Cole added the comment:
I've just tried the OS X build of 3.3rc2, and this has been fixed. Thank you!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14223
___
STINNER Victor added the comment:
I've just tried the OS X build of 3.3rc2, and this has been fixed. Thank you!
Great!
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14223
___
Georg Brandl added the comment:
Done in d6d632f254ee.
--
resolution: - fixed
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14223
___
Nicholas Cole added the comment:
Unless I'm getting the build process wrong (possible, because I haven't tried
testing fixes before), this fix isn't working for me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14223
Changes by Nicolas Schodet nico-pyt...@ni.fr.eu.org:
--
nosy: -schodet
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14223
___
___
STINNER Victor added the comment:
Unless I'm getting the build process wrong (possible, because
I haven't tried testing fixes before), this fix isn't working for me.
Oh did you compile Python? Did you install it?
Do you have libncursesw? = do you have the function curses.unget_wch?
What is
Changes by Christian Hofstaedtler ch+pythonb...@zeha.at:
--
nosy: -zeha
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14223
___
___
Nicholas Cole added the comment:
Unless I'm getting the build process wrong (possible, because
I haven't tried testing fixes before), this fix isn't working for me.
Oh did you compile Python? Did you install it?
Yes, I tried compiling it.
#./configure MACOSX_DEPLOYMENT_TARGET=10.8
STINNER Victor added the comment:
How do I check which version it was built against?
On Linux, I use:
$ ldd /usr/lib/python2.7/lib-dynload/_curses.so |grep curses
libncursesw.so.5 = /lib/i386-linux-gnu/libncursesw.so.5 (0xb76d)
$ ls -l /lib/i386-linux-gnu/libncursesw.so.5
Nicholas Cole added the comment:
On Mon, Sep 3, 2012 at 3:15 PM, STINNER Victor rep...@bugs.python.org wrote:
STINNER Victor added the comment:
How do I check which version it was built against?
On Linux, I use:
$ ldd /usr/lib/python2.7/lib-dynload/_curses.so |grep curses
Ned Deily added the comment:
Can that possibly be right??
Yes. That's the version of ncurses that Apple ships with current versions of OS
X. You can build it yourself and install into /usr/local and rebuild python.
For ncurses 5.9, something like:
./configure --enable-widec
Roundup Robot added the comment:
New changeset 27b5bd5f0e4c by Victor Stinner in branch 'default':
Close #14223: Fix window.addch(curses.ACS_HLINE)
http://hg.python.org/cpython/rev/27b5bd5f0e4c
--
resolution: - fixed
status: open - closed
___
Python
STINNER Victor added the comment:
I'm reopening this bug because I've noticed that in Python3.3rc1,
although trying to print curses.ACS_HLINE and other such characters
no long cause an Exception, only blank characters are printed to
the screen.
If the Python curses module is compiled in
STINNER Victor added the comment:
(keep the issue open until the fix is included in Georg's repository)
--
resolution: fixed -
status: closed - open
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14223
Nicholas Cole added the comment:
I'm reopening this bug because I've noticed that in Python3.3rc1, although
trying to print curses.ACS_HLINE and other such characters no long cause an
Exception, only blank characters are printed to the screen.
Tested with both Terminal.App and xterm running
Nicholas Cole added the comment:
import curses
def test_screen(screen):
screen.addch(5,5, curses.ACS_HLINE)
screen.addch(5,6, curses.ACS_HLINE)
screen.refresh()
curses.napms(2000)
curses.wrapper(test_screen)
--
___
Python tracker
New submission from Nicholas Cole nicholas.c...@gmail.com:
The following code works on Python versions prior to 3.3a1:
import curses
def test_screen(screen):
screen.addch(5,5, curses.ACS_HLINE)
screen.refresh()
curses.wrapper(test_screen)
On python3.3, the program produces the
R. David Murray rdmur...@bitdance.com added the comment:
Marking as release blocker since this is a regression. Added people from the
other curses issue as being likely to be interested in this one.
--
nosy: +cben, gpolo, haypo, inigoserna, jcea, phep, pitrou, python-dev,
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 861a5f3e7453 by Victor Stinner in branch 'default':
Close #14223: curses.addch() is no more limited to the range 0-255 when the
http://hg.python.org/cpython/rev/861a5f3e7453
--
resolution: - fixed
stage:
STINNER Victor victor.stin...@gmail.com added the comment:
I introduced the arbitrary limit when I added support of the curses Unicode API
(libncursesw). The limit is useless if libncursesw is used, whereas it blocks
legal characters like KEY_xxx constants. So I just removed the check and it
21 matches
Mail list logo