Michael Droettboom wrote: [...] > > I think the small amount of support is a valid concern, particularly as > we move toward Py3k, if no one steps up to the plate to help with the > migration.
Do you have a sense of how difficult that migration would be? > > I appreciate the way it fits so nicely into C++ ideas about RAII and > exceptions -- but if you're not a C++ guy, that pro is probably a con. What is RAII? Actually, to the limited extent that I understand it, I *like* what I take to be the pycxx approach, transparently translating C++ constructs into corresponding Python constructs (e.g., exceptions). And I appreciate some of the ways that C++ advances beyond C. I just get all tangled up in the complicated declarations and the need to track code in .cpp and .h files in parallel. C++ feels an order of magnitude more complex to me than C. My discomfort level is very gradually decreasing, though. > Pyrex is "fun to use" and it allows code to be more gradually migrated > from Python to C. We would need to take care to not add another > run-time dependency for users. (As an aside, I can't find the license > of Pyrex. Does anyone know what it is?) Not a problem, as Chris has noted in another reply. Pyrex is already being used in Jeff Whitaker's basemap module, which is a critical contribution to mpl for many users although it is not presently in the main tree. I don't know how well pyrex will be maintained and updated, long-term. [...] > I suppose my initial disappointment in SWIG is that I like its > fundamental idea -- of automating the tedious boilerplate -- but the > execution of it just seems so heavyweight. But maybe that doesn't > really matter. This is Python after all ;) I think it is a perfectly valid concern and consideration. Eric ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel