On Fri, Apr 3, 2009 at 10:03 AM, Stephen Kennedy <[email protected]> wrote: > 2009/4/1 Vincent Legoll <[email protected]>: >> 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 _______________________________________________ meld-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/meld-list
