aboutsummaryrefslogtreecommitdiff
path: root/runtime/autoload/provider/script_host.py
Commit message (Collapse)AuthorAge
* python: move script_host.py to python-clientBjörn Linse2016-03-15
|
* python: Add missing I/O methods to RedirectStreamDan Strokirk2016-01-18
| | | | | | | | | | | `RedirectStream` is used to redirect `stdout` and `stderr`, but are missing certain I/O methods available on other file-like objects. This causes external plugins (like `colorama`) to crash. Inheriting from `io.IOBase` adds an abstract implementation of these methods, which will at least keep the python code running. Fixes #4045
* Merge pull request #2910 from blueyed/python-fix-path_hookJustin M. Keyes2015-08-17
|\ | | | | Python: fixes for sys.path_hooks handler
| * python: VimPathFinder: remove unused load_module methodDaniel Hahler2015-07-09
| | | | | | | | This method was not used, but `VimModuleLoader.load_module` is.
| * python: path_hook: properly implement PEP302Daniel Hahler2015-07-09
| | | | | | | | | | | | | | | | | | | | | | The path hook used to load the module already in the `find_module` hook. This caused different behaviour between Python 2.7 and 3.3, where the former would call the `VimModuleLoader`, while Python 3.3 appears to short-circuited this (because the module was loaded already). This patch will now only find the module, but not load it in the `find_module` hook.
| * python: VimModuleLoader: check sys.modules[fullname]Daniel Hahler2015-07-09
| | | | | | | | This is required by PEP302 for `reload()`ing modules.
| * python: VimPathFinder: use find_spec for Python 3.4Daniel Hahler2015-07-09
| | | | | | | | Fixes https://github.com/neovim/neovim/issues/2909
* | python3: remove decoding logic, as this is now done in plugin host #3026Björn Linse2015-07-18
|/ | | | | DecodeHook isn't needed since neovim/python-client#53 rpc methods won't pass bytes anymore, ref neovim/python-client#129
* Add if_python3 supportShougo Matsushita2015-04-21
| | | | | Reviewed-by: Michael Reed <m.reed@mykolab.com>, Daniel Hahler <github@thequod.de> Helped-by: Daniel Hahler <github@thequod.de>
* runtime: Reimplement python/clipboard providers in vimscriptThiago de Arruda2014-11-18
Clipboard is implemented with platform-specific shell commands, and python is implemented with the external plugin facility (rpc#* functions). The script_host.py file(legacy python-vim emulation plugin) was moved/adapted from the python client repository.