From e3a1c63c8993e6198a26f8e0f13aedc0d4c2e1c4 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Thu, 29 Sep 2005 13:42:45 +0000 Subject: backport: fix parse errors in readline --- Misc/NEWS | 16 ++++++++++++++-- Modules/readline.c | 2 ++ 2 files changed, 16 insertions(+), 2 deletions(-) diff --git a/Misc/NEWS b/Misc/NEWS index 16c3b76..5c054e0 100644 --- 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* diff --git a/Modules/readline.c b/Modules/readline.c index 7494813..43ac628 100644 --- a/Modules/readline.c +++ b/Modules/readline.c @@ -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; } -- cgit v0.12