Re: [PATCH] *sourceview rediffed and integrated feedback

On Fri, Apr 3, 2009 at 10:03 AM, Stephen Kennedy <stevek gnome org> wrote:
> 2009/4/1 Vincent Legoll <vincent legoll gmail com>:
>> I want to push that sooner rather than later, so
>> I'd like a bit of testing, at least to know that it
>> does not break existing working setups.
>> Any comments ?
> Both gtksourceview and gtksourceview24 work for me.
> Is __nonzero__ a common python idiom? It makes sense
> but certainly made me look twice as I'm not used to seeing
> an object evaluate as false.

It's the documented way for and object not to be considered
as truth value, at least since python-1.4, so I think as this allows
simpler code in modules that make usage of this one (no need
for a separate boolean variable), we should keep it.

I'll add a comment about it though...

Vincent Legoll

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]