|
Karsten Hopp |
a121ed |
To: vim_dev@googlegroups.com
|
|
Karsten Hopp |
a121ed |
Subject: Patch 7.3.11
|
|
Karsten Hopp |
a121ed |
Fcc: outbox
|
|
Karsten Hopp |
a121ed |
From: Bram Moolenaar <Bram@moolenaar.net>
|
|
Karsten Hopp |
a121ed |
Mime-Version: 1.0
|
|
Karsten Hopp |
a121ed |
Content-Type: text/plain; charset=UTF-8
|
|
Karsten Hopp |
a121ed |
Content-Transfer-Encoding: 8bit
|
|
Karsten Hopp |
a121ed |
------------
|
|
Karsten Hopp |
a121ed |
|
|
Karsten Hopp |
a121ed |
Patch 7.3.1186
|
|
Karsten Hopp |
a121ed |
Problem: Python 3: test 87 may crash.
|
|
Karsten Hopp |
a121ed |
Solution: Use _PyArg_Parse_SizeT instead of PyArg_Parse. (Jun Takimoto)
|
|
Karsten Hopp |
a121ed |
Files: src/if_python3.c
|
|
Karsten Hopp |
a121ed |
|
|
Karsten Hopp |
a121ed |
|
|
Karsten Hopp |
a121ed |
*** ../vim-7.3.1185/src/if_python3.c 2013-06-12 14:40:58.000000000 +0200
|
|
Karsten Hopp |
a121ed |
--- src/if_python3.c 2013-06-13 20:44:48.000000000 +0200
|
|
Karsten Hopp |
a121ed |
***************
|
|
Karsten Hopp |
a121ed |
*** 425,437 ****
|
|
Karsten Hopp |
a121ed |
{"PySys_SetArgv", (PYTHON_PROC*)&py3_PySys_SetArgv},
|
|
Karsten Hopp |
a121ed |
{"Py_SetPythonHome", (PYTHON_PROC*)&py3_Py_SetPythonHome},
|
|
Karsten Hopp |
a121ed |
{"Py_Initialize", (PYTHON_PROC*)&py3_Py_Initialize},
|
|
Karsten Hopp |
a121ed |
- # ifndef PY_SSIZE_T_CLEAN
|
|
Karsten Hopp |
a121ed |
- {"PyArg_ParseTuple", (PYTHON_PROC*)&py3_PyArg_ParseTuple},
|
|
Karsten Hopp |
a121ed |
- {"Py_BuildValue", (PYTHON_PROC*)&py3_Py_BuildValue},
|
|
Karsten Hopp |
a121ed |
- # else
|
|
Karsten Hopp |
a121ed |
{"_PyArg_ParseTuple_SizeT", (PYTHON_PROC*)&py3_PyArg_ParseTuple},
|
|
Karsten Hopp |
a121ed |
{"_Py_BuildValue_SizeT", (PYTHON_PROC*)&py3_Py_BuildValue},
|
|
Karsten Hopp |
a121ed |
- # endif
|
|
Karsten Hopp |
a121ed |
{"PyMem_Free", (PYTHON_PROC*)&py3_PyMem_Free},
|
|
Karsten Hopp |
a121ed |
{"PyMem_Malloc", (PYTHON_PROC*)&py3_PyMem_Malloc},
|
|
Karsten Hopp |
a121ed |
{"PyList_New", (PYTHON_PROC*)&py3_PyList_New},
|
|
Karsten Hopp |
a121ed |
--- 425,432 ----
|
|
Karsten Hopp |
a121ed |
***************
|
|
Karsten Hopp |
a121ed |
*** 488,494 ****
|
|
Karsten Hopp |
a121ed |
{"PyEval_InitThreads", (PYTHON_PROC*)&py3_PyEval_InitThreads},
|
|
Karsten Hopp |
a121ed |
{"PyEval_RestoreThread", (PYTHON_PROC*)&py3_PyEval_RestoreThread},
|
|
Karsten Hopp |
a121ed |
{"PyEval_SaveThread", (PYTHON_PROC*)&py3_PyEval_SaveThread},
|
|
Karsten Hopp |
a121ed |
! {"PyArg_Parse", (PYTHON_PROC*)&py3_PyArg_Parse},
|
|
Karsten Hopp |
a121ed |
{"Py_IsInitialized", (PYTHON_PROC*)&py3_Py_IsInitialized},
|
|
Karsten Hopp |
a121ed |
{"_PyObject_NextNotImplemented", (PYTHON_PROC*)&py3__PyObject_NextNotImplemented},
|
|
Karsten Hopp |
a121ed |
{"_Py_NoneStruct", (PYTHON_PROC*)&py3__Py_NoneStruct},
|
|
Karsten Hopp |
a121ed |
--- 483,489 ----
|
|
Karsten Hopp |
a121ed |
{"PyEval_InitThreads", (PYTHON_PROC*)&py3_PyEval_InitThreads},
|
|
Karsten Hopp |
a121ed |
{"PyEval_RestoreThread", (PYTHON_PROC*)&py3_PyEval_RestoreThread},
|
|
Karsten Hopp |
a121ed |
{"PyEval_SaveThread", (PYTHON_PROC*)&py3_PyEval_SaveThread},
|
|
Karsten Hopp |
a121ed |
! {"_PyArg_Parse_SizeT", (PYTHON_PROC*)&py3_PyArg_Parse},
|
|
Karsten Hopp |
a121ed |
{"Py_IsInitialized", (PYTHON_PROC*)&py3_Py_IsInitialized},
|
|
Karsten Hopp |
a121ed |
{"_PyObject_NextNotImplemented", (PYTHON_PROC*)&py3__PyObject_NextNotImplemented},
|
|
Karsten Hopp |
a121ed |
{"_Py_NoneStruct", (PYTHON_PROC*)&py3__Py_NoneStruct},
|
|
Karsten Hopp |
a121ed |
*** ../vim-7.3.1185/src/version.c 2013-06-13 20:19:35.000000000 +0200
|
|
Karsten Hopp |
a121ed |
--- src/version.c 2013-06-13 20:45:49.000000000 +0200
|
|
Karsten Hopp |
a121ed |
***************
|
|
Karsten Hopp |
a121ed |
*** 730,731 ****
|
|
Karsten Hopp |
a121ed |
--- 730,733 ----
|
|
Karsten Hopp |
a121ed |
{ /* Add new patch number below this line */
|
|
Karsten Hopp |
a121ed |
+ /**/
|
|
Karsten Hopp |
a121ed |
+ 1186,
|
|
Karsten Hopp |
a121ed |
/**/
|
|
Karsten Hopp |
a121ed |
|
|
Karsten Hopp |
a121ed |
--
|
|
Karsten Hopp |
a121ed |
hundred-and-one symptoms of being an internet addict:
|
|
Karsten Hopp |
a121ed |
188. You purchase a laptop so you can surf while sitting on the can.
|
|
Karsten Hopp |
a121ed |
|
|
Karsten Hopp |
a121ed |
/// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\
|
|
Karsten Hopp |
a121ed |
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
|
|
Karsten Hopp |
a121ed |
\\\ an exciting new programming language -- http://www.Zimbu.org ///
|
|
Karsten Hopp |
a121ed |
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
|