Loading ...
Sorry, an error occurred while loading the content.

Re: [PATCH] Python bindings allow adding empty keys to dictionaries and throw vim.error instead of IndexError

Expand Messages
  • Bram Moolenaar
    ... Great, thanks. -- What the word politics means: Poli in Latin meaning many and tics meaning bloodsucking creatures . /// Bram Moolenaar --
    Message 1 of 4 , Sep 2, 2012
    • 0 Attachment
      ZyX wrote:

      > > > Do not allow empty keys when creating vim dictionaries from python objects
      > > > Throw IndexError when dictionary item was not found, not vim.error
      > >
      > > Thanks.
      > >
      > > Are there any tests for this functionality? It's always good to verify
      > > this doesn't break again later.
      >
      > Here are tests for all my recent if_py* patches. Everything is
      > available on https://bitbucket.org/ZyX_I/vim as well.

      Great, thanks.


      --
      What the word 'politics' means: 'Poli' in Latin meaning 'many' and 'tics'
      meaning 'bloodsucking creatures'.

      /// Bram Moolenaar -- Bram@... -- 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
    Your message has been successfully submitted and would be delivered to recipients shortly.