]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
backport: fix parse errors in readline
authorGeorg Brandl <georg@python.org>
Thu, 29 Sep 2005 13:42:45 +0000 (13:42 +0000)
committerGeorg Brandl <georg@python.org>
Thu, 29 Sep 2005 13:42:45 +0000 (13:42 +0000)
Misc/NEWS
Modules/readline.c

index 16c3b76c2156c8b14d45aa5f1a04d00f2edd1196..5c054e0d2d6102568c9151f53071228ad109a615 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -4,6 +4,17 @@ Python News
 
 (editors: check NEWS.help for information about editing NEWS using ReST.)
 
+What's New in Python 2.4.3a0?
+=============================
+
+*Release date: XX-XX-200X*
+
+Extension Modules
+-----------------
+
+- Fix parse errors in the readline module when compiling without threads.
+
+
 What's New in Python 2.4.2 final?
 =================================
 
@@ -31,8 +42,9 @@ Build
 - The Windows .msi files are now compressed using lzx:21. This produces a 
   significantly smaller installer.
 
-What's New in Python 2.4.2c1
-============================
+
+What's New in Python 2.4.2c1?
+=============================
 
 *Release date: 21-SEP-2005*
 
index 74948136a2c4124dd1b4697e7c93139480c7c61d..43ac6281307fcf006e1d8e5c3d95b0a1135013bb 100644 (file)
@@ -605,6 +605,7 @@ on_hook(PyObject *func)
 #ifdef WITH_THREAD           
                PyGILState_Release(gilstate);
 #endif
+               return result;
        }
        return result;
 }
@@ -657,6 +658,7 @@ on_completion(char *text, int state)
 #ifdef WITH_THREAD           
                PyGILState_Release(gilstate);
 #endif
+               return result;
        }
        return result;
 }