Nikolay Pavlov wrote:
> > Patch 8.0.1280
> > Problem: Python None cannot be converted to a Vim type.
> > Solution: Convert it to v:none. (Ken Takata)
>
> Still why v:none and not v:null?
Well None and v:none seem closer. In many cases it's the same thing.
> Also most those TypeErrors below were to test error handling in the
> case when the branch with TypeError is entered, not to test None
> handling. Leaving NOT FAILED there defeats the purpose.
Yes, I would have liked to fix that, but the test is very hard to
understand, there are hardly any comments that explain what the
intention is and function names don't help much either.
I would really appreciate it if you can test None conversion properly.
Eventually this would work much better as a new style test. Especially
catching the literal text of errors is problematic.
--
CART DRIVER: Bring out your dead!
LARGE MAN: Here's one!
CART DRIVER: Ninepence.
BODY: I'm not dead!
"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/d/optout.