[SciPy-Dev] scipy.io cleanup

Charles R Harris charlesr.harris@gmail....
Thu Jun 17 19:16:56 CDT 2010

On Thu, Jun 17, 2010 at 5:57 PM, Ralf Gommers

> On Fri, Jun 18, 2010 at 1:14 AM, Matthew Brett <matthew.brett@gmail.com>wrote:
>> Hi,
>> On Wed, Jun 16, 2010 at 12:23 PM, Ralf Gommers
>> <ralf.gommers@googlemail.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
>> recaster
>> > 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?
I don't know that we've done it before, but looks to be the best, maybe
only, way to do it.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/scipy-dev/attachments/20100617/38d4588f/attachment.html 

More information about the SciPy-Dev mailing list