Pierre GM wrote:
> All,
> What's the mechanism to submit tickets ?

Pierre,

There is a tracker, 
http://sourceforge.net/tracker/?group_id=80706&atid=560720
but it is better to start exactly as you have, with a message to this list.

> 
> 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'

Why would one want to use -OO when running matplotlib?  Is it essential 
to be able to do this?

> 
> (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.

Clever, but it strikes me as a bit too ugly to sprinkle throughout mpl.
Numpy has the same problem (via nosetester.py, if not elsewhere), so 
fixing mpl alone won't help.

Eric


-------------------------------------------------------------------------
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

Reply via email to