[SciPy-Dev] scipy.io cleanup
Thu Jun 17 18:57:35 CDT 2010
On Fri, Jun 18, 2010 at 1:14 AM, Matthew Brett <firstname.lastname@example.org>wrote:
> On Wed, Jun 16, 2010 at 12:23 PM, Ralf Gommers
> <email@example.com> wrote:
> > A long list of functions in scipy.io was deprecated in 0.7 and has to be
> > removed now. It's in the 'io' branch at
> > http://github.com/rgommers/scipy/commits/io now. In addition the
> > module is deprecated as Matthew requested in another thread. Does someone
> > want to have a quick look at it?
> Sorry that I didn't do this myself - and thanks for doing it.
> I noticed that your patch means that every import of scipy.io
> generates a deprecation warning. This in turn was because I'm calling
> the deprecated sctype_attributes in the Recaster class definition.
> I've worked round this, version of your 'recaster' patch attached...
> Yeah I noticed that. Will use your fix, thanks. One other thing I wasn't
sure about was the best way to deprecate a class. Since the deprecate
decorator/function doesn't work on the class I applied it on the __init__
method, is this the best way to do it?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SciPy-Dev