YouCompleteMe/python/ycm
micbou b923431d7d Avoid evaluating Vim globals in Python
On Python 3, evaluating a Vim expression will raise a unicode exception
if it contains an invalid sequence of bytes for the current encoding.
We can't really do anything about it because this is the way Vim and
Python 3 interact. However, we can prevent this situation to occur by
not evaluating Vim data that we have no control over: in particular,
the Vim globals. This is done by:
 - adding one by one the YCM default options instead of extending the
   Vim globals with them;
 - only evaluating the Vim global variable names (and not their values)
   when building the YCM options for the ycmd server.
2016-05-06 20:14:10 +02:00
..
client Update flake8 config 2016-03-06 17:39:55 +00:00
tests Starting ycmd with Python used to build it 2016-04-27 19:42:00 -07:00
__init__.py Fixing python tests broken in rename 2013-05-19 20:06:14 -07:00
base.py Avoid evaluating Vim globals in Python 2016-05-06 20:14:10 +02:00
diagnostic_interface.py Update flake8 config 2016-03-06 17:39:55 +00:00
omni_completer.py Update flake8 config 2016-03-06 17:39:55 +00:00
paths.py Add error messages when ycmd crashed 2016-05-02 23:08:32 +02:00
setup.py Add error messages when ycmd crashed 2016-05-02 23:08:32 +02:00
syntax_parse.py Fix traceback when a syntax file has unicode characters 2016-03-10 21:28:42 +00:00
test_utils.py Rename ycmd python option 2016-03-26 19:15:08 +01:00
unsafe_thread_pool_executor.py Update flake8 config 2016-03-06 17:39:55 +00:00
vimsupport.py Avoid evaluating Vim globals in Python 2016-05-06 20:14:10 +02:00
youcompleteme.py Add error messages when ycmd crashed 2016-05-02 23:08:32 +02:00