Nikolay Pavlov wrote:
> On Jun 27, 2013 8:47 PM, "Bram Moolenaar" <[email protected]> wrote:
> >
> >
> > Yasuhiro Matsumoto wrote:
> >
> > > On Thursday, June 27, 2013 9:27:59 AM UTC+9, mattn wrote:
> > > > 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.
> >
> > Thanks. I'll check that it doesn't break the tests on my machine.
>
> I am wondering why SystemExit should not be allowed. It is currently the
> only way to get exit code other then 0 or 1 (except probably for using
> other bindings).
AFAIK it bypasses the code Vim needs to run on exit.
Another way would be to intercept SystemExit and call getout().
--
LAUNCELOT: At last! A call! A cry of distress ...
(he draws his sword, and turns to CONCORDE)
Concorde! Brave, Concorde ... you shall not have died in vain!
CONCORDE: I'm not quite dead, sir ...
"Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
/// Bram Moolenaar -- [email protected] -- 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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.