On Mon, 2010-02-08 at 22:14 +0100, Bernhard Reutner-Fischer wrote: 
> -    if not hasattr(__builtins__, 'set'):
> +    try:
> +     set
> +    except NameError:
>       from sets import Set as set

It's not completely obvious to me that this patch is an improvement: it
replaces a single line of code with three new ones and doesn't seem to
change the outcome.  Maybe one of our Python überhackers can comment on
whether or not this is really better.

p.



_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel

Reply via email to