4 From: Bram Moolenaar <Bram@moolenaar.net>
6 Content-Type: text/plain; charset=ISO-8859-1
7 Content-Transfer-Encoding: 8bit
11 Problem: Using Python 2.3 with threads doesn't work properly.
12 Solution: Release the lock after initialization.
13 Files: src/if_python.c
16 *** ../vim-6.3.031/src/if_python.c Wed Jun 9 14:56:26 2004
17 --- src/if_python.c Thu Nov 18 10:01:02 2004
20 typedef PyObject PyThreadState;
21 #endif /* Python 1.4 */
23 - #ifndef PY_CAN_RECURSE
24 static PyThreadState* saved_python_thread = NULL;
31 saved_python_thread = PyEval_SaveThread();
34 + #ifndef PY_CAN_RECURSE
36 * Restore a thread of the Python interpreter, waits for other threads to
43 ! #ifndef PY_CAN_RECURSE
44 ! /* the first python thread is vim's */
54 ! /* the first python thread is vim's, release the lock */
59 *** ../vim-6.3.032/src/version.c Fri Oct 22 11:45:17 2004
60 --- src/version.c Thu Nov 18 10:43:17 2004
64 { /* Add new patch number below this line */
71 GUARD #1: Where'd you get the coconut?
72 ARTHUR: We found them.
73 GUARD #1: Found them? In Mercea? The coconut's tropical!
74 ARTHUR: What do you mean?
75 GUARD #1: Well, this is a temperate zone.
76 The Quest for the Holy Grail (Monty Python)
78 /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
79 /// Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
80 \\\ Project leader for A-A-P -- http://www.A-A-P.org ///
81 \\\ Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///