On Wed, Jul 23, 2008 at 4:04 AM, David Kaplan <[EMAIL PROTECTED]> wrote: > Hi, > > I believe that the cbook.is_scalar function has a bug: > > In [19]: cbook.is_scalar('abc') > Out[19]: 1 > > I believe it should be: > > def is_scalar(obj): > 'return true if *obj* is not string like and is not iterable' > return not is_string_like(obj) and not iterable(obj)
Yep, good catch. I committed this fix to 5822 JDH ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel