71589Re: Remaining Python todo items
- Jun 27, 2013Yasuhiro Matsumoto wrote:
> On Thursday, June 27, 2013 9:27:59 AM UTC+9, mattn wrote:There is a problem:
> > On Thursday, June 27, 2013 2:22:16 AM UTC+9, Bram Moolenaar wrote:
> > > Python SystemExit exception is not handled properly. Patch to catch the
> > > exception and give an error. (Yasuhiro Matsumoto)
> > > Does not work, tests fail.
> > I updated patch.
> > https://gist.github.com/mattn/5385037
> > regards.
> Sorry Sorry Sorry!
> It contains debug message.
> I just removed, and I noticed E863 is used in po/*.po (but not used in
> *.c, *.h). So I modified to use E880.
- status = PyRun_SimpleString(code);
+ status = PyRun_String(code, Py_file_input, globals, globals);
PyRun_String does not return an int but a PyObject.
You also need to take care of reference counting then.
Not too long ago, compress was something you did to garbage...
/// Bram Moolenaar -- Bram@... -- 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
You received this message because you are subscribed to the Google Groups "vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
For more options, visit https://groups.google.com/groups/opt_out.
- << Previous post in topic Next post in topic >>