Hi Carlos,
> On Jul 31, 2015, at 8:14 PM, Carlos Pita <[email protected]> wrote:
> > - Is there any value in making an exception for only a.filter line?
>
> Yes, you can say for (99%) sure that a.filter is not a builtin, at least no
> more than a.x. Instead it's dubious practice to name a global or local
> variable as a builtin, that's looking for trouble. But attributes and
> variables are different beasts, differently scoped.
>
> There's little to say against value.set(3) or point.set(x=3, y=2) but a lot
> against def set(obj, attr, val): .... or set = [1, 2, 3].
>
OK. But there still remains the question of discrepancy between:
class A:
filter = None
and:
a = A()
a.filter = 2
On one line it would still be highlighted, while on another it wouldn’t, for
the same attribute.
That’s inconsistent.
Zvezdan
--
--
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.