Bram Moolenaar
24f8bee068
updated for version 7.3.1163
...
Problem: Not easy to load Python modules.
Solution: Search "python2", "python3" and "pythonx" directories in
'runtimepath' for Python modules. (ZyX)
2013-06-10 21:27:29 +02:00
Bram Moolenaar
66bb495307
updated for version 7.3.1162
...
Problem: Python: Memory leaks
Solution: Add more Py_DECREF(). (ZyX)
2013-06-10 20:47:36 +02:00
Bram Moolenaar
16c8a28e9d
updated for version 7.3.1158
...
Problem: Crash when running test 86. (Jun Takimoto)
Solution: Define PY_SSIZE_T_CLEAN early. (Elimar Riesebieter)
2013-06-10 18:36:24 +02:00
Bram Moolenaar
242910e53a
updated for version 7.3.1099
...
Problem: Python: Changing directory with os.chdir() causes problems for
Vim's notion of directories.
Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
2013-06-02 18:20:17 +02:00
Bram Moolenaar
703f453f99
updated for version 7.3.1070
...
Problem: Vim crashes in Python tests. Compiler warning for unused function.
Solution: Disable the tests for now. Move the function.
2013-05-30 15:38:24 +02:00
Bram Moolenaar
2bbe0a07d1
updated for version 7.3.1065
...
Problem: Python: key mapping is not standard.
Solution: Puthon patch 24: use PyMapping_Keys. (ZyX)
2013-05-30 13:22:13 +02:00
Bram Moolenaar
8136993d82
updated for version 7.3.1061
...
Problem: Python: Dictionary is not standard.
Solution: Python patch 20: Add standard methods and fields. (ZyX)
2013-05-30 13:01:18 +02:00
Bram Moolenaar
d9509e6693
updated for version 7.3.1059
...
Problem: Python: Using fixed size buffers.
Solution: Python patch 18: Use python's own formatter. (ZyX)
2013-05-30 12:40:39 +02:00
Bram Moolenaar
e742c4b485
updated for version 7.3.1047
...
Problem: Python: dir() does not work properly.
Solution: Python patch 8. Add __dir__ method to all objects with custom
tp_getattr supplemented by __members__ attribute for at least
python-2* versions. __members__ is not mentioned in python-3*
dir() output even if it is accessible. (ZyX)
2013-05-29 22:36:10 +02:00
Bram Moolenaar
d9789a964a
updated for version 7.3.1044
...
Problem: Python: No {Buffer,TabPage,Window}.valid attributes.
Solution: Python patch 5: add .valid (ZyX)
2013-05-29 22:15:30 +02:00
Bram Moolenaar
f39004b118
updated for version 7.3.1043
...
Problem: Python: Dynamic compilation with 2.3 fails.
Solution: Python patch 4. (ZyX)
2013-05-29 22:05:55 +02:00
Bram Moolenaar
3e2da68d13
updated for version 7.3.1042
...
Problem: Python: can't assign to vim.Buffer.name.
Solution: Python patch 3. (ZyX)
2013-05-29 22:02:22 +02:00
Bram Moolenaar
64f4e67f97
updated for version 7.3.1040
...
Problem: Python: Problems with debugging dynamic build.
Solution: Python patch 1. (ZyX)
2013-05-29 21:33:39 +02:00
Bram Moolenaar
84902bdda2
updated for version 7.3.1003
...
Problem: Python interface does not compile with Python 2.2
Solution: Fix thread issues and True/False. (ZyX)
2013-05-21 22:23:56 +02:00
Bram Moolenaar
facd586588
updated for version 7.3.998
...
Problem: Python: garbage collection issues.
Solution: Fix the GC issues: Use proper DESTRUCTOR_FINISH: avoids negative
refcounts, use PyObject_GC_* for objects with tp_traverse and
tp_clear, add RangeTraverse and RangeClear, use Py_XDECREF in some
places. (ZyX)
2013-05-21 20:51:59 +02:00
Bram Moolenaar
aa78e91177
updated for version 7.3.995
...
Problem: Python: Module initialization is duplicated.
Solution: Move to shared file. (ZyX)
2013-05-21 19:11:01 +02:00
Bram Moolenaar
c722478813
updated for version 7.3.992
...
Problem: Python: Too many type casts.
Solution: Change argument types. (ZyX)
2013-05-21 18:30:34 +02:00
Bram Moolenaar
c888a20c28
updated for version 7.3.991
...
Problem: More can be shared by Python 2 and 3.
Solution: Move more stuff to if_py_both. (ZyX)
2013-05-21 18:19:38 +02:00
Bram Moolenaar
f430b2b059
updated for version 7.3.966
...
Problem: There is ":py3do" but no ":pydo".
Solution: Add the ":pydo" command. (Lilydjwg)
2013-05-17 16:40:06 +02:00
Bram Moolenaar
ead1e0c653
updated for version 7.3.964
...
Problem: Python: not so easy to access tab pages.
Solution: Add window.tabpage, make window.number work with non-current tab
pages. (ZyX)
2013-05-17 16:18:33 +02:00
Bram Moolenaar
a687725db5
updated for version 7.3.956
...
Problem: Python vim.bindeval() causes SIGABRT.
Solution: Make pygilstate a local variable. (Yukihiro Nakadaira)
2013-05-15 17:49:05 +02:00
Bram Moolenaar
f8083ab049
updated for version 7.3.953
...
Problem: Python: string exceptions are deprecated.
Solution: Make vim.error an Exception subclass. (ZyX)
2013-05-15 16:04:40 +02:00
Bram Moolenaar
4fa4552d26
updated for version 7.3.951
...
Problem: Python exceptions have problems.
Solution: Change some IndexErrors to TypeErrors. Make “line number out of
range” an IndexError. Make “unable to get option value” a
RuntimeError. Make all PyErr_SetString messages start with
lowercase letter and use _(). (ZyX)
2013-05-15 15:44:28 +02:00
Bram Moolenaar
718bf66a68
updated for version 7.3.950
...
Problem: Python: Stack trace printer can't handle messages.
Solution: Make KeyErrors use PyErr_SetObject. (ZyX)
2013-05-15 15:35:09 +02:00
Bram Moolenaar
ddd06e26aa
updated for version 7.3.949
...
Problem: Python: no easy access to tabpages.
Solution: Add vim.tabpages and vim.current.tabpage. (ZyX)
2013-05-15 15:12:29 +02:00
Bram Moolenaar
806f0dd4ba
updated for version 7.3.948
...
Problem: Cannot build with Python 2.2
Solution: Make Python interface work with Python 2.2
Make 2.2 the first supported version. (ZyX)
2013-05-15 14:51:35 +02:00
Bram Moolenaar
30867df397
updated for version 7.3.947
...
Problem: Python: No iterator for vim.list and vim.bufferlist.
Solution: Add the iterators. Also fix name of FunctionType. Add tests for
vim.buffers. (ZyX)
2013-05-15 14:39:52 +02:00
Bram Moolenaar
49c46eb243
updated for version 7.3.945
...
Problem: Python: List of buffers is not very useful.
Solution: Make vim.buffers a map. No iterator yet. (ZyX)
2013-05-15 13:38:47 +02:00
Bram Moolenaar
22f7c59879
updated for version 7.3.942
...
Problem: Python: SEGV in Buffer functions.
Solution: Call CheckBuffer() at the right time. (ZyX)
2013-05-12 20:36:14 +02:00
Bram Moolenaar
99ea08ad66
updated for version 7.3.941
...
Problem: Stuff in if_py_both.h is ordered badly.
Solution: Reorder by type. (ZyX)
2013-05-12 19:45:35 +02:00
Bram Moolenaar
c03c0a51a8
updated for version 7.3.937
...
Problem: More can be shared between Python 2 and 3.
Solution: Move code to if_py_both.h. (ZyX)
2013-05-12 18:44:48 +02:00
Bram Moolenaar
f776adc480
updated for version 7.3.925
...
Problem: Typos in source files.
Solution: Fix the typos. (Ken Takata)
2013-05-06 04:24:17 +02:00
Bram Moolenaar
9ad087f4ce
updated for version 7.3.924
...
Problem: Python interface can't easily access options.
Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
2013-05-06 03:52:55 +02:00
Bram Moolenaar
8771e9d673
updated for version 7.3.911
...
Problem: Python: Access to Vim variables is not so easy.
Solution: Define vim.vars and vim.vvars. (ZyX)
2013-04-24 14:07:45 +02:00
Bram Moolenaar
bdbbfbf2e5
updated for version 7.3.910
...
Problem: Python code in #ifdef branches with only minor differences.
Solution: Merge the #ifdef branches. (ZyX)
2013-04-24 13:47:45 +02:00
Bram Moolenaar
f7a194605d
updated for version 7.3.909
...
Problem: Duplicate Python code.
Solution: Move more items to if_py_both.h. (ZyX) Also avoid compiler
warnings for missing initializers.
2013-04-24 13:39:15 +02:00
Bram Moolenaar
2064083c0f
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
36e91e7db2
updated for version 7.3.825
...
Problem: With Python errors are not always clear.
Solution: Print the stack trace, unless :silent is used. (ZyX)
2013-02-20 16:09:43 +01:00
Bram Moolenaar
bee3d92bfa
updated for version 7.3.808
...
Problem: Python threads still do not work properly.
Solution: Fix both Python 2 and 3. Add tests. (Ken Takata)
2013-02-13 14:17:08 +01:00
Bram Moolenaar
6a2385a9a8
updated for version 7.3.786
...
Problem: Python threads don't run in the background (issue 103).
Solution: Move the statements to manipulate thread state.
2013-01-30 11:44:39 +01:00
Bram Moolenaar
3f9e2bdae2
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
8756a1bab4
updated for version 7.3.691
...
Problem: State specific to the Python thread is discarded.
Solution: Keep state between threads. (Paul)
2012-10-14 05:20:12 +02:00
Bram Moolenaar
98754bb975
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
21dd3b2964
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
ecc97ea20d
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
0e11097cba
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
07c8ef3f91
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
1d3dbdfb72
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
34da562315
updated for version 7.3.583
...
Problem: PyObject_NextNotImplemented is not defined before Python 2.7.
(Danek Duvall)
Solution: Add #ifdefs.
2012-06-30 13:21:08 +02:00
Bram Moolenaar
2750cc8593
updated for version 7.3.581
...
Problem: Problems compiling with Python.
Solution: Pick UCS2 or UCS4 function at runtime. (lilydjwg)
2012-06-29 19:14:52 +02:00