Marcin Szamotulski <[email protected]> wrote:
>Hello,
>
>I have some issues with the pyeval() function. Let say I have a python
>dictionary where the keys are integers, for example:
>
>:py x={1:''}
>
>Then
>:echo pyeval("x")
>
>Brings two errors:
>
>E859: Failed to convert returned python object to vim value
>E685: Internal error: echo_string()
>
>However if the keys are strings:
>:py x={'1':''}
>
>everything works fine.
>
>Best regards,
>Marcin
>
>
>
>
>
>
>--
>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 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