On 09/02/2011 08:54 AM, Eric Firing wrote:

> Now I see it: all the other backends are simply setting constants in
> their cursord, so they are not calling the functions that create the
> cursors until runtime; backend_gtk is calling the functions at import
> time.  This is a design deficiency that will be easy to fix, and will
> help prevent quite a few problems (including problems I have run into
> myself).
>
> I will take care of it today or tomorrow.
>
> Eric

I was too optimistic.  Moving the cursor creation to runtime is easy, 
but it triggers an avalanche of warnings and errors, sometimes ending in 
a segfault, if one tries to plot anything when there is no X display. 
Better to leave it the way it is, failing at import.

Eric

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE!
Finally, a world-class log management solution at an even better 
price-free! And you'll get a free "Love Thy Logs" t-shirt when you
download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to