On Wed, Oct 22, 2008 at 13:19, Doug Kearns <[EMAIL PROTECTED]> wrote:

> On 10/21/08, Nikolai Weibull <[EMAIL PROTECTED]> wrote:

>>  Has remove() always thrown an error if idx is beyond the end of list?
>>
>>  Either way, what's the reasoning behind it doing so?  If the items
>>  aren't there to begin with, then great, that's precisely what I want.

> Ignoring the pivotal issue of your patch generating technique, I think
> you'll find Bram based Vim Script's lists/dicts on Python.  The 7
> release says as much: "Vim script supports Lists and Dictionaries
> (similar to Python)"

Yeah, I knew about this sad state of affairs.  However, I had no idea
that Python was that brain-dead.  I really dislike this tendency
computers have to not adhering to the mantra "do as I mean, not as I
say".  It's the same thing with trying to write "quit" or "exit" at
the Python REPL.  Try it some time.  Preferably when your spirits are
high [1].

[1] This was way worse before, when all it echoed was "Use Ctrl-D
(i.e. EOF) to exit".  But the fact that it knows exactly what I want
to do and still presents that stupid message is still true.

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Raspunde prin e-mail lui