Bram Moolenaar
af6abb9d93
updated for version 7.3.907
...
Problem: Python uses IndexError when a dict key is not found.
Solution: Use KeyError instead. (ZyX)
2013-04-24 13:04:26 +02:00
Bram Moolenaar
24b11fb173
updated for version 7.3.881
...
Problem: Python list does not work correctly.
Solution: Fix it and add a test. (Yukihiro Nakadaira)
2013-04-05 19:32:36 +02:00
Bram Moolenaar
b2c5a5ac79
updated for version 7.3.819
...
Problem: Compiling without +eval and with Python isn't working.
Solution: Add the eval feature when building with Python.
2013-02-14 22:11:39 +01:00
Bram Moolenaar
a54bf40017
updated for version 7.3.749
...
Problem: Python interface doesn't build without the multi-byte feature.
Solution: Add #ifdef. (Ken Takata)
2012-12-05 16:30:07 +01:00
Bram Moolenaar
d1f13fd597
updated for version 7.3.683
...
Problem: ":python" may crash when vimbindeval() returns None.
Solution: Check for v_string to be NULL. (Yukihiro Nakadaira)
2012-10-05 21:30:07 +02:00
Bram Moolenaar
66b7985ec9
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
770456589e
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
696c2116dc
updated for version 7.3.670
...
Problem: Python: memory leaks when there are exceptions.
Solution: Add DICTKEY_UNREF in the right places. (ZyX)
2012-09-21 13:43:14 +02:00
Bram Moolenaar
e8cdcef875
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
afa6b9af86
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
231e1a1723
updated for version 7.3.654
...
Problem: When creating a Vim dictionary from Python objects an empty key
might be used.
Solution: Do not use empty keys, throw an IndexError. (ZyX)
2012-09-05 18:45:28 +02:00
Bram Moolenaar
ac0ddc15e9
updated for version 7.3.652
...
Problem: Workaround for Python crash isn't perfect.
Solution: Change the type of the length argument. (Sean Estabrooks)
2012-09-05 17:28:21 +02:00
Bram Moolenaar
c1a995db49
updated for version 7.3.626
...
Problem: Python interface doesn't build with Python 2.4 or older.
Solution: Define Py_ssize_t. (Benjamin Bannier)
2012-08-08 16:05:07 +02:00
Bram Moolenaar
9581b5f70e
updated for version 7.3.611
...
Problem: Can't use Vim dictionary as self argument in Python.
Solution: Fix the check for the "self" argument. (ZyX)
2012-07-25 15:36:04 +02:00
Bram Moolenaar
221d6872c4
updated for version 7.3.584
...
Problem: PyCObject is not always defined.
Solution: Use PyObject instead.
2012-06-30 13:34:34 +02:00
Bram Moolenaar
3cd3e7ab17
updated for version 7.3.580
...
Problem: Warning on 64 bit MS-Windows.
Solution: Add type cast. (Mike Williams)
2012-06-29 17:52:02 +02:00
Bram Moolenaar
2afa3238a1
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
f27839c1a9
updated for version 7.3.578
...
Problem: Misplaced declaration.
Solution: Move declaration to start of block.
2012-06-29 16:19:50 +02:00
Bram Moolenaar
db91395312
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
b830f0c7df
updated for version 7.3.497
...
Problem: Crash when doing ":python print" and compiled with gcc and
the optimizer enabled.
Solution: Avoid the crash, doesn't really fix the problem. (Christian
Brabandt)
2012-04-20 13:31:21 +02:00
Bram Moolenaar
7f85d297dc
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
275648066d
updated for version 7.3.300
...
Problem: Python doesn't parse multi-byte argument correctly.
Solution: Use "t" instead of "s". (lilydjwg)
2011-09-07 19:30:21 +02:00
Bram Moolenaar
03a807aaf4
updated for version 7.3.239
...
Problem: Python corrects the cursor column without taking 'virtualedit'
into account. (lilydjwg)
Solution: Call check_cursor_col_win().
2011-07-07 15:08:58 +02:00
Bram Moolenaar
91805fc0db
updated for version 7.3.232
...
Problem: Python doesn't compile without +multi_byte
Solution: Use "latin1" when MULTI_BYTE is not defined.
2011-06-26 04:01:44 +02:00
Bram Moolenaar
19e6094378
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
a29a37d533
updated for version 7.3.142
...
Problem: Python stdout doesn't have a flush() method, causing an import to
fail.
Solution: Add a dummy flush() method. (Tobias Columbus)
2011-03-22 15:47:44 +01:00
Bram Moolenaar
6b5ef067a5
updated for version 7.3.037
...
Problem: Compiler warnings for loss of data. (Mike Williams)
Solution: Add type casts.
2010-10-27 12:18:00 +02:00
Bram Moolenaar
2eea198564
updated for version 7.3.007
...
Problem: Python code defines global "buffer". Re-implements a grow-array.
Solution: Use a grow-array instead of coding the same functionality. Handle
out-of-memory situation properly.
2010-09-21 16:49:37 +02:00
Bram Moolenaar
09092155a6
Remove unused code.
2010-08-08 16:38:42 +02:00
Bram Moolenaar
ca8a4dfe7a
Move many more common Python items to if_py_both.c.
2010-07-31 19:54:14 +02:00
Bram Moolenaar
170bf1aed5
Move some common code from if_python.c and if_python3.c to if_py_both.h.
2010-07-24 23:51:45 +02:00