On Sun, Aug 3, 2008 at 1:29 PM, Pierre GM <[EMAIL PROTECTED]> wrote:
>
> I intend to put a DeprecationWarning at the beginning of numpy.ma.core. A
> side-effect is that this warning is issued each time numpy.ma is imported,
> which clutters the output of the tests.
> Am I missing something ?

Can you could trap it in __getattr_ instead?  For instance:
http://projects.scipy.org/scipy/scipy/browser/trunk/scipy/sparse/csr.py#L87


-- 
Nathan Bell [EMAIL PROTECTED]
http://graphics.cs.uiuc.edu/~wnbell/
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://projects.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to