[issue5622] wrong error from curses.wrapper if curses initialization fails
Ned Deily
report at bugs.python.org
Sun Jan 9 01:07:56 CET 2011
Ned Deily <nad at acm.org> added the comment:
A simpler way to reproduce:
TERM= python -c 'import curses; curses.wrapper(lambda a:a.getch())'
I looked at adding an automated test case for this but it is a little tricky to make it bulletproof across all environments. Since the problem is really a one-time coding error, perhaps a permanent test case can be omitted?
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5622>
_______________________________________
More information about the Python-bugs-list
mailing list