Tobias Columbus wrote:
> > On Tuesday 22 March 2011 13:40:19 you wrote:
> > > Kearn Holliday reported that this Python command crashes
> > > some versions
> > >
> > > of Vim:
> > > :python help(dir)
> > >
> > > This is the stack I get in gdb:
> SNIP
> > > Does someone have an idea why this happens or how to fix it?
> >
> > I just had a look at what's going on there.
> SNIP
> > I tracked the problem down to a call to
> > type(sys.stdout)
> > in the method pydoc.getpager(), which tries to determine what
> > pager to use.
>
> The bug is indeed in type(sys.stdout). The attached patch fixes
> the problem at least here. I modified all other Type
> "constructors" for consistency reasons.
Thanks. I'll verify it fixes the problem for me as well.
--
ARTHUR: CHARGE!
[The mighty ARMY charges. Thundering noise of feet. Clatter of coconuts.
Shouts etc. Suddenly there is a wail of a siren and a couple of police
cars roar round in front of the charging ARMY and the POLICE leap out and
stop them. TWO POLICEMAN and the HISTORIAN'S WIFE. Black Marias skid up
behind them.]
HISTORIAN'S WIFE: They're the ones, I'm sure.
"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