ZyX wrote:

> пятница, 31 мая 2013 г., 0:06:49 UTC+4 пользователь Bram Moolenaar написал:
> > ZyX wrote:
> > 
> > 
> > 
> > > And this one fixes tests. And I still do not have any memory access
> > > errors, probably they were fixed by the previous posted diff. Some
> > > memory leaks are there, but nothing marked �definitely lost� in
> > > my code:
> > 
> > Memory lost in x11 functions is not our problem.
> > 
> > > Fix SystemErrors by adding RAISE_NO_EMPTY_KEYS in proper places; purge
> > > DICTKEY_* macros
> > 
> > I still see a big difference between the output and what is supposed to
> > be the output.
> > 
> > In test86 output lines 757 to 1075 are missing.  It's like some part of
> > the test didn't run.
> Cannot say anything without more details. On my system tests work
> perfectly with python-2.7. Python-2.6 has some minor differences in
> output; python-2.3 has some major differences due to different repr()
> of built-in exceptions. Nothing is missing part of the test,
> especially such weird one.

I'll include the diff below.  I'm using Python 2.7.3, as it's on Ubuntu
12.10.  Lots of people must be using this.

I hope we can make the code not depend on the specific Python version as
much as possible.  Not only for the tests, also for users who write
scripts.  I know it's not at all easy to do this, but we can try.

> > In test87 there are a few errors in several lines.  E.g. getting
> > "SyntaxError" instead of "TypeError".
> These are fixed with this patch:

Together with the other patch ":py" -> ":py3" only a few errors remain.
See the diff in the attachment.

This planet has -- or rather had -- a problem, which was this: most
of the people living on it were unhappy for pretty much of the time.
Many solutions were suggested for this problem, but most of these
were largely concerned with the movements of small green pieces of
paper, which is odd because on the whole it wasn't the small green
pieces of paper that were unhappy.
                -- Douglas Adams, "The Hitchhiker's Guide to the Galaxy"

 /// 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

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+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Attachment: diff
Description: Binary data

Raspunde prin e-mail lui