On 9/10/2013 1:54 PM, Eric Firing wrote:
> On 2013/09/10 5:43 AM, Michael Droettboom wrote:
>> Do any of those use ctypes?  Try creating a minimal ctypes example and
>> see if that works.
>
> Mike,
>
> I was a bit horrified to see that ctypes import and usage in mpl;
> fortunately it is a workaround for a PySide bug, and should only be
> temporary, if it should be there at all.
>
> Eric
>

Don't be horrified. The Ctypes workaround went trough the mailing list, 
a PR with discussions including most core developers, testing, several 
beta/rc/final versions, and real word usage. It fixes a problem that is 
still present today without it: the Qt4Agg backend is practically 
unusable with any recent version of PySide on CPython 3.x. Anyway, the 
Ctypes code could be put in a try/except statement for environments that 
don't support Ctypes or Python's C API.

Christoph

------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to