On 10/16/2016 10:26 PM, Xavier de Gaye wrote:
> vim version: 8.0.13
> python version: 3.5.2
> Linux 4.7.6-1-ARCH: archlinux
>
> When running the following command from the gvim command line:
> :!python -c "print(input('Prompt: '))"
>
> the output when entering '0' from the main keyboard:
> Prompt: 0
> 0
> and the output when entering 0 from the numeric keypad (set to numeric of
course):
> Prompt: › KC
> Traceback (most recent call last):
> File "<string>", line 1, in <module>
> UnicodeDecodeError: 'utf-8' codec can't decode byte 0x9b in position 0:
invalid start byte
>
> shell returned 1
>
> Executed from the shell, this same python command runs fine in both cases and
prints '0'.
> This regression seems to have been created after last july, either in Vim or
in Python.
I am not really sure anymore now that I had been using the numeric keypad
before.
Use case:
Running a python script from Vim to download grib files through IMAP.
The script asks for a password and the problem occured after a
password change.
> Wondering if someone else can reproduce it or has any idea what might cause
this problem.
--
Xavier
Les Chemins de Lokoti: http://lokoti.alwaysdata.net
--
--
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 vim_dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.