All, What's the mechanism to submit tickets ? I just ran this rather obscure bug that has been reported on numpy/scipy: when import matplotlib when python is started with the -OO flag, a TypeError is raised: File "/usr/lib64/python2.4/site-packages/matplotlib/figure.py", line 623, in Figure add_axes.__doc__ = add_axes.__doc__ % (", ".join(get_projection_names()), '%(Axes)s') TypeError: unsupported operand type(s) for %: 'NoneType' and 'tuple'
(that's r6097). The trick is to use a command such as: add_axes.__doc__ = ((add_axes.__doc__ or '') % (", ".join(get_projection_names()), '%(Axes)s')) or None everywhere needed. Thx a lot in advance. ------------------------------------------------------------------------- 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