Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 3fda93e

Browse files
committed
Merged revisions 78322 via svnmerge from
svn+ssh://[email protected]/python/branches/py3k ................ r78322 | andrew.kuchling | 2010-02-22 11:52:52 -0500 (Mon, 22 Feb 2010) | 9 lines Merged revisions 78318 via svnmerge from svn+ssh://[email protected]/python/trunk ........ r78318 | andrew.kuchling | 2010-02-22 11:26:47 -0500 (Mon, 22 Feb 2010) | 1 line #7597: curses.use_env() can be called before initscr(). Noted by Kan-Ru Chen ........ ................
1 parent d2a577d commit 3fda93e

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

Misc/NEWS

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ Core and Builtins
7979
Library
8080
-------
8181

82+
- Issue #7597: curses.use_env() can now be called before initscr().
83+
Noted by Kan-Ru Chen.
84+
8285
- Issue #7310: fix the __repr__ of os.environ to show the environment variables.
8386

8487
- Issue #7970: email.Generator.flatten now correctly flattens message/rfc822

Modules/_cursesmodule.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2659,8 +2659,6 @@ PyCurses_Use_Env(PyObject *self, PyObject *args)
26592659
{
26602660
int flag;
26612661

2662-
PyCursesInitialised
2663-
26642662
switch(PyTuple_Size(args)) {
26652663
case 1:
26662664
if (!PyArg_ParseTuple(args,"i;True(1), False(0)",&flag))

0 commit comments

Comments
 (0)