Bram Moolenaar
9acf3e9c05
updated for version 7.3.731
...
Problem: Py3Init_vim() is exported uneccessarily.
Solution: Make it static. (Ken Takata)
2012-11-28 15:33:14 +01:00
Bram Moolenaar
84b15eef90
updated for version 7.3.716
...
Problem: Error on exit when using Python 3.
Solution: Remove PythonIO_Fini(). (Roland Puntaier)
2012-11-20 11:04:35 +01:00
Bram Moolenaar
f236cb6c2b
updated for version 7.3.711
...
Problem: vim.current.buffer is not available. (lilydjwg)
Solution: Use py3_PyUnicode_AsUTF8 instead of py3_PyUnicode_AsUTF8String.
(Ken Takata)
2012-10-23 05:17:37 +02:00
Bram Moolenaar
9cb2e95126
updated for version 7.3.698
...
Problem: Python 3 does not preserve state beween commands.
Solution: Preserve the state. (Paul Ollis)
2012-10-21 01:47:00 +02:00
Bram Moolenaar
df37828124
updated for version 7.3.688
...
Problem: Python 3.3 is not supported.
Solution: Add Python 3.3 support (Ken Takata)
2012-10-14 03:22:56 +02:00
Bram Moolenaar
2f54401a8d
updated for version 7.3.672
...
Problem: Not possible to lock/unlock lists in Python interface.
Solution: Add .locked and .scope attributes. (ZyX)
2012-09-21 14:00:35 +02:00
Bram Moolenaar
23eb14c8e3
updated for version 7.3.671
...
Problem: More Python code can be shared between Python 2 and 3.
Solution: Move code to if_py_both.h. (ZyX)
2012-09-21 13:46:06 +02:00
Bram Moolenaar
b9b0f25c07
updated for version 7.3.661
...
Problem: SEGV in Python code.
Solution: Initialize len to zero. Use the right function depending on
version. (Maxim Philippov)
2012-09-12 20:21:43 +02:00
Bram Moolenaar
fa6de2bb62
updated for version 7.3.658
...
Problem: NUL bytes truncate strings when converted from Python.
Solution: Handle truncation as an error. (ZyX)
2012-09-05 19:09:11 +02:00
Bram Moolenaar
8d41f92290
updated for version 7.3.657
...
Problem: Python bindings silently truncate string values containing NUL.
Solution: Fail when a string contains NUL. (ZyX)
2012-09-05 19:03:56 +02:00
Bram Moolenaar
8c950049fd
updated for version 7.3.656
...
Problem: Internal error in :pyeval.
Solution: Handle failed object conversion. (ZyX)
2012-09-05 18:54:48 +02:00
Bram Moolenaar
365041a617
updated for version 7.3.579
...
Problem: Can't compile with Python 2.5.
Solution: Use PyCObject when Capsules are not available.
2012-06-29 16:28:28 +02:00
Bram Moolenaar
92591ff798
updated for version 7.3.569
...
Problem: Evaluating Vim expression in Python is insufficient.
Solution: Add vim.bindeval(). Also add pyeval() and py3eval(). (ZyX)
2012-06-29 12:54:53 +02:00
Bram Moolenaar
f5d34ae81a
updated for version 7.3.422
...
Problem: Python 3 does not have __members__.
Solution: Add "name" and "number" in another way. (lilydjwg)
2012-02-04 20:17:26 +01:00
Bram Moolenaar
becaaaead9
updated for version 7.3.313
...
Problem: One more warning when compiling with dynamic Python 3.
Solution: Change PySliceObject to PyObject.
2011-09-14 18:59:39 +02:00
Bram Moolenaar
020e3b0da8
updated for version 7.3.309
...
Problem: Warnings for pointer types.
Solution: Change PySliceObject to PyObject.
2011-09-14 15:41:58 +02:00
Bram Moolenaar
a1213ba4c8
updated for version 7.3.307
...
Problem: Python 3 doesn't support slice assignment.
Solution: Implement slices. (Brett Overesch, Roland Puntaier)
2011-09-14 15:01:58 +02:00
Bram Moolenaar
054b67b2b8
updated for version 7.3.288
...
Problem: has('python') may give an error message for not being able to load
the library after using python3.
Solution: Only give the error when the verbose argument is true.
2011-08-28 16:00:19 +02:00
Bram Moolenaar
187319ac73
updated for version 7.3.250
...
Problem: Python: Errors in Unicode characters not handled nicely.
Solution: Add the surrogateescape error handler. (lilydjwg)
2011-07-15 15:54:44 +02:00
Bram Moolenaar
c4ffce9c94
updated for version 7.3.236
...
Problem: Python 3 doesn't compile without +multi_byte
Solution: Use "latin1" when MULTI_BYTE is not defined. (lilydjwg)
2011-06-26 19:13:50 +02:00
Bram Moolenaar
e8c4996e56
updated for version 7.3.220
...
Problem: Python 3: vim.error is a 'str' instead of an 'Exception' object,
so 'except' or 'raise' it causes a 'SystemError' exception.
Buffer objects do not support slice assignment.
When exchanging text between Vim and Python, multibyte texts become
gabage or cause Unicode Expceptions, etc.
'py3file' tries to read in the file as Unicode, sometimes causes
UnicodeDecodeException
Solution: Fix the problems. (lilydjwg)
2011-06-19 00:27:51 +02:00
Bram Moolenaar
6c57e2a441
updated for version 7.3.212
...
Problem: With Python 3.2 ":py3" fails.
Solution: Move PyEval_InitThreads() to after Py_Initialize(). (Roland
Puntaier) Check abiflags in configure. (Andreas Behr)
2011-06-12 21:37:13 +02:00
Bram Moolenaar
6c91e04896
updated for version 7.3.132
...
Problem: C++ style comments.
Solution: Change to C comments.
2011-02-25 15:18:50 +01:00
Bram Moolenaar
17bcd02554
updated for version 7.3.062
...
Problem: Python doesn't work properly when installed in another directory
than expected.
Solution: Figure out home directory in configure and use Py_SetPythonHome()
at runtime. (Roland Puntaier)
2010-11-16 19:26:02 +01:00
Bram Moolenaar
8e94a6f547
updated for version 7.3.034
...
Problem: Win32: may be loading .dll from the wrong directory.
Solution: Go to the Vim executable directory when opening a library.
2010-10-23 14:02:54 +02:00
Bram Moolenaar
148e620808
Add a configure check for RTLD_GLOBAL. (James Vega, Roland Puntaier)
...
--HG--
branch : vim73
2010-08-13 16:22:57 +02:00
Bram Moolenaar
a6abdcd2d8
When building with both Python 2 and Python 3 don't use RTLD_GLOBAL, so that
...
both may work.
--HG--
branch : vim73
2010-08-09 22:06:13 +02:00
Bram Moolenaar
dd1c05e11f
Move many more common Python items to if_py_both.c.
...
--HG--
branch : vim73
2010-07-31 19:54:14 +02:00
Bram Moolenaar
ef6828cc08
Include old Python changes in Python 3 interface.
...
--HG--
branch : vim73
2010-07-25 13:43:20 +02:00
Bram Moolenaar
f804a143ec
Move some common code from if_python.c and if_python3.c to if_py_both.h.
...
--HG--
branch : vim73
2010-07-24 23:51:45 +02:00
Bram Moolenaar
a324d8f0d6
Temporary solution for crashing when using both :py and :py3: disallow both in
...
one session.
--HG--
branch : vim73
2010-07-24 15:42:14 +02:00
Bram Moolenaar
605246a15f
Fix: "import termios" doesn't work with dynamically loaded Python. (James
...
Vega)
--HG--
branch : vim73
2010-07-22 21:44:13 +02:00
Bram Moolenaar
206e86e4b3
Rename some "python3" symbols to "py3", as the command name.
...
Documentation updates.
--HG--
branch : vim73
2010-07-19 20:46:22 +02:00
Bram Moolenaar
ac2b3fd963
Fixes and improvements for MS-Windows build.
...
--HG--
branch : vim73
2010-07-18 21:42:34 +02:00
Bram Moolenaar
222acc458c
Make automatic prototype generation work with more interfaces.
...
--HG--
branch : vim73
2010-07-18 18:04:50 +02:00
Bram Moolenaar
b7e3f706b4
Whitespace cleanup.
...
--HG--
branch : vim73
2010-07-17 23:52:29 +02:00
Bram Moolenaar
56361677b1
Added support for Python 3. (Roland Puntaier)
...
--HG--
branch : vim73
2010-07-17 21:19:38 +02:00