| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Problem: Test 86 and 87 fail with some version of Python.
Solution: Unify "can't" and "cannot". Unify quotes.
|
|
|
|
|
| |
Problem: Tests involving Python are flaky.
Solution: Set the pt_auto field. Add tests. (Nikolai Pavlov)
|
|
|
|
|
| |
Problem: No "closed", "errors" and "encoding" attribute on Python output.
Solution: Add attributes and more tests. (Roland Puntaier, closes #622)
|
|
|
|
|
| |
Problem: Python: turns partial into simple funcref.
Solution: Use partials like partials. (Nikolai Pavlov, closes #734)
|
|
|
|
|
| |
Problem: Test 87 fails with Python 3.5.
Solution: Work around difference. (Taro Muraoka)
|
|
|
|
|
| |
Problem: Python None value can't be converted to a Vim value.
Solution: Just use zero. (Damien)
|
|
|
|
|
| |
Problem: Test 87 is flaky on AppVeyor.
Solution: Reduce the minimum background thread count.
|
|
|
|
|
| |
Problem: test86 and test87 are flaky in Appveyor.
Solution: Reduce the count from 8 to 7. (suggested by ZyX)
|
|
|
|
|
| |
Problem: Test 87 doesn't work in a shadow directory.
Solution: Handle the extra subdirectory. (James McCoy, closes #515)
|
|
|
|
|
|
| |
Problem: Python interface can produce error "vim.message' object has no
attribute 'isatty'".
Solution: Add dummy isatty(), readable(), etc. (closes #464)
|
|
|
|
|
| |
Problem: Test 86 and 87 may hang on MS-Windows.
Solution: Call inputrestore() after inputsave(). (Ken Takata)
|
|
|
|
|
|
| |
Problem: Python tests fail.
Solution: Change "then" to "than" in more places. (Dominique Pelle, Taro
Muraoka)
|
|
|
|
|
|
| |
Problem: Dictionary.update() thows an error when used without arguments.
Python programmers don't expect that.
Solution: Make Dictionary.update() without arguments do nothing. (ZyX)
|
|
|
|
|
| |
Problem: Python: Cannot iterate over options.
Solution: Add options iterator. (ZyX)
|
|
|
|
|
| |
Problem: Python: slices with steps are not supported.
Solution: Support slices in Python vim.List. (ZyX)
|
|
|
|
|
|
| |
Problem: Python: When vim.eval() encounters a Vim error, a try/catch in the
Python code doesn't catch it. (Yggdroot Chen)
Solution: Throw exceptions on errors in vim.eval(). (ZyX)
|
|
|
|
|
| |
Problem: Python: interrupt not being properly discarded. (Yggdroot Chen)
Solution: Discard interrupt in VimTryEnd. (ZyX)
|
|
|
|
|
| |
Problem: Crash when using invalid key in Python dictionary.
Solution: Check for object to be NULL. Add tests. (ZyX)
|
|
|
|
|
| |
Problem: Test 87 fails with Python 3.3.
Solution: Filter the error messages. (Taro Muraoka)
|
|
|
|
|
| |
Problem: Python tests fail on MS-Windows.
Solution: Change backslashes to slashes. (Taro Muraoka)
|
|
|
|
|
| |
Problem: Python: WindowSetattr() missing support for NUMBER_UNSIGNED.
Solution: Add NUMBER_UNSIGNED, add more tests. Various fixes. (ZyX)
|
|
|
|
|
|
| |
Problem: Various Python problems.
Solution: Fix VimTryEnd. Crash with debug build and PYTHONDUMPREFS=1. Memory
leaks in StringToLine(), BufferMark() and convert_dl. (ZyX)
|
|
|
|
|
| |
Problem: Python 2: loading modules doesn't work well.
Solution: Fix the code. Add more tests. (ZyX)
|
|
|
|
|
| |
Problem: Loading Python modules is not tested.
Solution: Enable commented-out tests, add missing files. (ZyX)
|
|
|
|
|
|
| |
Problem: Not easy to load Python modules.
Solution: Search "python2", "python3" and "pythonx" directories in
'runtimepath' for Python modules. (ZyX)
|
|
|
|
|
| |
Problem: Python: a few more memory problems.
Solution: Add and remove Py_XDECREF(). (ZyX)
|
|
|
|
|
|
| |
Problem: Python: Changing directory with os.chdir() causes problems for
Vim's notion of directories.
Solution: Add vim.chdir() and vim.fchdir(). (ZyX)
|
|
|
|
|
| |
Problem: Python: popitem() was not defined in a standard way.
Solution: Remove the argument from popitem(). (ZyX)
|
|
|
|
|
| |
Problem: Tests 86 and 87 fail on MS-Windows. (Ken Takata)
Solution: Fix platform-specific stuff. (ZyX)
|
|
|
|
|
| |
Problem: Test 87 fails.
Solution: Fix the test for Python 3.3. (ZyX) Make it pass on 32 bit systems.
|
|
|
|
|
| |
Problem: Vim crashes in Python tests. Compiler warning for unused function.
Solution: Disable the tests for now. Move the function.
|
|
|
|
|
| |
Problem: Python: Insufficient exception and error testing.
Solution: Python patch 25. (ZyX)
|
|
|
|
|
| |
Problem: Python: Function is not standard.
Solution: Python patch 22: make Function subclassable. (ZyX)
|
|
|
|
|
| |
Problem: Python: List is not standard.
Solution: Python patch 21: Add standard methods and fields. (ZyX)
|
|
|
|
|
| |
Problem: Python: Dictionary is not standard.
Solution: Python patch 20: Add standard methods and fields. (ZyX)
|
|
|
|
|
|
| |
Problem: Python: not enough compatibilty.
Solution: Python patch 16: Make OutputWritelines support any sequence object
(ZyX) Note: tests fail
|
|
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Python: No {Buffer,TabPage,Window}.valid attributes.
Solution: Python patch 5: add .valid (ZyX)
|
|
|
|
|
| |
Problem: Python: can't assign to vim.Buffer.name.
Solution: Python patch 3. (ZyX)
|
|
|
|
|
| |
Problem: Python interface does not compile with Python 2.2
Solution: Fix thread issues and True/False. (ZyX)
|
|
|
|
|
| |
Problem: Vim and Python exceptions are different.
Solution: Make Vim exceptions be Python exceptions. (ZyX)
|
|
|
|
|
| |
Problem: Python: Can't check types of what is returned by bindeval().
Solution: Add vim.List, vim.Dictionary and vim.Function types. (ZyX)
|
|
|
|
|
| |
Problem: Python tests are not portable.
Solution: Use shiftwidth instead of iminsert. (ZyX)
|
|
|
|
|
| |
Problem: Tests 86 and 87 fail when using another language than English.
Solution: Set the language to C in the test. (Dominique Pelle)
|
|
|
|
|
| |
Problem: Python: Not enough tests.
Solution: Add tests for vim.{current,window*,tabpage*}. (ZyX)
|
|
|
|
|
|
| |
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)
|
|
|
|
|
| |
Problem: Python: Negative indices were failing.
Solution: Fix negative indices. Add tests. (ZyX)
|
|
|
|
|
| |
Problem: Python interface can't easily access options.
Solution: Add vim.options, vim.window.options and vim.buffer.options. (ZyX)
|
|
|
|
|
| |
Problem: Python: Access to Vim variables is not so easy.
Solution: Define vim.vars and vim.vvars. (ZyX)
|
|
|
|
|
| |
Problem: Python threads still do not work properly.
Solution: Fix both Python 2 and 3. Add tests. (Ken Takata)
|