[SciPy-dev] cut-and-paste error in scipy\io\matlab\mio5.py

Thouis (Ray) Jones thouis at broad.mit.edu
Thu Jan 15 20:47:35 EST 2009


This may be useful for someone trying to write a patch for the opaque
objects (tag 17, the one Josef is dealing with):
https://www-old.cae.wisc.edu/pipermail/octave-maintainers/2007-May/002824.html

Apparently these are workspaces attached to anonymous and nested
functions.  I've looked at the Octave code a bit (src/ls-mat5.cc) as a
reference, and made some initial stabs at handling them in scipy, but
no luck so far.

Josef suggested that matlab objects without readers might be loaded as
an unparsed chunk of data, which could then be written back out
directly (rather than just punting them).  That seems a reasonable
solution to me.

Ray Jones



More information about the SciPy-Dev mailing list