[New-bugs-announce] [issue7597] curses.use_env implementation error
Kan-Ru Chen
report at bugs.python.org
Wed Dec 30 11:12:23 CET 2009
New submission from Kan-Ru Chen <kanru at kanru.info>:
According to doc:
http://docs.python.org/library/curses.html#curses.use_env
curses.use_env() must be called before initscr(), curses man page also
says so.
But python gives error: _curses.error: must call initscr() first
test.py is the test program, the output should change if your term
size changed
test_ctypes.py shows the desired behavior.
ps. curses.COLS and curses.LINES doesn't change, but that's another
story.
----------
components: Extension Modules
files: test.py
messages: 97024
nosy: kanru
severity: normal
status: open
title: curses.use_env implementation error
type: behavior
versions: Python 2.6
Added file: http://bugs.python.org/file15698/test.py
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7597>
_______________________________________
More information about the New-bugs-announce
mailing list