ZyX wrote:

> On Tuesday, February 11, 2014 11:54:46 PM UTC+4, ZyX wrote:
> > PyErr_Format("%ld") is supported since python 2.5. Officially we support 
> > python 2.4 and older. Thus you should either drop support for python 2.4 or 
> > cast to (int). I was using the latter, though I cannot recall whether I 
> > just forgot to add type casts when transforming %ld I wanted to use 
> > initially to %d or there is some reason to do so.
> 
> Some search reveals that I do have casts to (int) in a number of
> places, just these two are missing them. This would correct:

Thanks, it's better to keep it consistent.  I didn't %ld wasn't
supported by older Python versions.


-- 
   An extraordinary TALL KNIGHT in all black (possibly John with Mike on his
   shoulders) walks out from the dark trees.  He is extremely fierce and
   gruesome countenance.  He walks towards KING ARTHUR and PATSY, who are
   wazzing like mad.  (Salopian slang, meaning very scared.  almost to the
   point of wetting oneself, e.g. before an important football match or
   prior to a postering.  Salopian slang meaning a beating by the school
   praeposters.  Sorry about the Salopian slant to this stage direction - Ed.)
                 "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.

Raspunde prin e-mail lui