]> granicus.if.org Git - python/commitdiff
Merged revisions 78318 via svnmerge from
authorAndrew M. Kuchling <amk@amk.ca>
Mon, 22 Feb 2010 16:52:52 +0000 (16:52 +0000)
committerAndrew M. Kuchling <amk@amk.ca>
Mon, 22 Feb 2010 16:52:52 +0000 (16:52 +0000)
svn+ssh://pythondev@svn.python.org/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
........

Misc/NEWS
Modules/_cursesmodule.c

index 2db7bc18e0cae333f96c4f7864322cfe9429cbcc..e2b141597f8fa52724a409a793f9fd0f04a82cf1 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -247,6 +247,9 @@ C-API
 Library
 -------
 
+- Issue #7597: curses.use_env() can now be called before initscr().
+  Noted by Kan-Ru Chen.
+
 - Issue #7310: fix the __repr__ of os.environ to show the environment variables.
 
 - Issue #7970: email.Generator.flatten now correctly flattens message/rfc822
index da19216bef1a31a9b2a8381b7941d6cee8bd67b3..ab17b0b9cdf1686fe0914cf4494bc9cc4e9f2ea9 100644 (file)
@@ -2659,8 +2659,6 @@ PyCurses_Use_Env(PyObject *self, PyObject *args)
 {
   int flag;
 
-  PyCursesInitialised
-
   switch(PyTuple_Size(args)) {
   case 1:
     if (!PyArg_ParseTuple(args,"i;True(1), False(0)",&flag))