[Numpy-discussion] Renaming MaskedArray._basedict
Nathan Bell
wnbell at gmail.com
Sun Aug 3 16:31:33 EDT 2008
On Sun, Aug 3, 2008 at 1:29 PM, Pierre GM <pgmdevlist at gmail.com> 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 wnbell at gmail.com
http://graphics.cs.uiuc.edu/~wnbell/
More information about the NumPy-Discussion
mailing list