[Numpy-discussion] Renaming MaskedArray._basedict

Pierre GM pgmdevlist at gmail.com
Sun Aug 3 14:29:23 EDT 2008


All,
I intend to rename a little-known attribute of MaskedArray, _basedict, to 
something more understandable such as _optinfo. This attribute is a 
dictionary that comes handy when subclassing MaskedArray or to save 
information. 
_basedict would still be available for a while as an alias to _optinfo, but 
may disappear in the long run.
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 ?
P.



More information about the NumPy-Discussion mailing list