Lilydjwg wrote:

> I made a patch to fix some bugs related to Vim's Python3 support. The
> bugs I found are:
> 
> * 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 exchange 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
> 
> The patch works on my Ubuntu Linux 32bit and Windows XP SP3 and should
> apply to any Vim 7.3+ version.

Sounds good.

Can a few people try this out?

-- 
Apologies for taking up the bandwidth with the apology.  Anything else I
can apologise for ...... er no can't think of anything, sorry about that.
                Andy Hunt (Member of British Olympic Apology Squad)

 /// Bram Moolenaar -- b...@moolenaar.net -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui