[New-bugs-announce] [issue14223] curses addch broken on Python3.3a1
Nicholas Cole
report at bugs.python.org
Wed Mar 7 21:44:54 CET 2012
New submission from Nicholas Cole <nicholas.cole at 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 following traceback:
Traceback (most recent call last):
File "/tmp/p.py", line 7, in <module>
curses.wrapper(test_screen)
File "/Library/Frameworks/Python.framework/Versions/3.3/lib/python3.3/curses/__init__.py", line 94, in wrapper
return func(stdscr, *args, **kwds)
File "/tmp/p.py", line 4, in test_screen
screen.addch(5,5, curses.ACS_HLINE)
OverflowError: byte doesn't fit in chtype
----------
components: Library (Lib)
messages: 155118
nosy: Nicholas.Cole
priority: normal
severity: normal
status: open
title: curses addch broken on Python3.3a1
versions: Python 3.3
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue14223>
_______________________________________
More information about the New-bugs-announce
mailing list