[vim/f18] - patchlevel 691
Karsten Hopp
karsten at fedoraproject.org
Mon Nov 12 14:32:15 UTC 2012
commit d7a5bb4908e30ba56b0dfa2fb48b5330c699f57e
Author: Karsten Hopp <karsten at redhat.com>
Date: Mon Nov 12 15:31:11 2012 +0100
- patchlevel 691
7.3.691 | 61 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 files changed, 61 insertions(+), 0 deletions(-)
---
diff --git a/7.3.691 b/7.3.691
new file mode 100644
index 0000000..6f44b5c
--- /dev/null
+++ b/7.3.691
@@ -0,0 +1,61 @@
+To: vim_dev at googlegroups.com
+Subject: Patch 7.3.691
+Fcc: outbox
+From: Bram Moolenaar <Bram at moolenaar.net>
+Mime-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+------------
+
+Patch 7.3.691
+Problem: State specific to the Python thread is discarded.
+Solution: Keep state between threads. (Paul)
+Files: src/if_python.c
+
+
+*** ../vim-7.3.690/src/if_python.c 2012-09-21 14:00:05.000000000 +0200
+--- src/if_python.c 2012-10-14 05:19:44.000000000 +0200
+***************
+*** 740,748 ****
+ #else
+ PyMac_Initialize();
+ #endif
+! /* initialise threads */
+ PyEval_InitThreads();
+!
+ #ifdef DYNAMIC_PYTHON
+ get_exceptions();
+ #endif
+--- 740,750 ----
+ #else
+ PyMac_Initialize();
+ #endif
+! /* Initialise threads and save the state using PyGILState_Ensure.
+! * Without this call, thread-specific state (such as the system trace
+! * hook), will be lost between invocations of Python code. */
+ PyEval_InitThreads();
+! pygilstate = PyGILState_Ensure();
+ #ifdef DYNAMIC_PYTHON
+ get_exceptions();
+ #endif
+*** ../vim-7.3.690/src/version.c 2012-10-14 04:35:16.000000000 +0200
+--- src/version.c 2012-10-14 05:14:35.000000000 +0200
+***************
+*** 721,722 ****
+--- 721,724 ----
+ { /* Add new patch number below this line */
++ /**/
++ 691,
+ /**/
+
+--
+ARTHUR: The swallow may fly south with the sun, or the house martin or the
+ plover seek warmer hot lands in winter, yet these are not strangers to
+ our land.
+SOLDIER: Are you suggesting coconuts migrate?
+ "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
+
+ /// Bram Moolenaar -- Bram at Moolenaar.net -- http://www.Moolenaar.net \\\
+/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
+\\\ an exciting new programming language -- http://www.Zimbu.org ///
+ \\\ help me help AIDS victims -- http://ICCF-Holland.org ///
More information about the scm-commits
mailing list