Issue 7597: curses.use_env implementation error (original) (raw)

Issue7597

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/51846

classification

Title: curses.use_env implementation error
Type: behavior Stage:
Components: Extension Modules Versions: Python 2.6

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: akuchling Nosy List: akuchling, kanru
Priority: normal Keywords: patch

Created on 2009-12-30 10:12 by kanru, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
test.py kanru,2009-12-30 10:12
test_ctypes.py kanru,2009-12-30 10:12
_curses.patch kanru,2009-12-30 10:12
Messages (5)
msg97024 - (view) Author: Kan-Ru Chen (kanru) Date: 2009-12-30 10:12
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.
msg99781 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2010-02-22 16:43
Committed to trunk in rev.78318.
msg99782 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2010-02-22 16:43
Backported to 2.6 maint in rev78321.
msg99783 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2010-02-22 16:53
Ported to 3.x trunk in rev78322.
msg99787 - (view) Author: A.M. Kuchling (akuchling) * (Python committer) Date: 2010-02-22 16:59
Ported to 3.1-maint in rev78323. Whew!
History
Date User Action Args
2022-04-11 14:56:55 admin set github: 51846
2010-02-22 16:59:54 akuchling set status: open -> closedresolution: fixedmessages: +
2010-02-22 16:53:55 akuchling set messages: +
2010-02-22 16:44:14 akuchling set assignee: akuchling
2010-02-22 16:43:59 akuchling set messages: +
2010-02-22 16:43:38 akuchling set messages: +
2009-12-30 12:40:10 r.david.murray set priority: normalnosy: + akuchling
2009-12-30 10:12:52 kanru set files: + _curses.patchkeywords: + patch
2009-12-30 10:12:39 kanru set files: + test_ctypes.py
2009-12-30 10:12:21 kanru create