2011/9/19 Fabian Pedregosa <[email protected]>:
> The docstring of sklearn.utils.deprecated says it should ``print a
> warning when the function is called/the class is instantiated and adds
> a warning to the docstring`` . However, executing some deprecated
> classes doesn't print anything for me:

"print a warning" should really be "issue a warning". We use Python's
standard DeprecationWarning, which is "ignored by default"
(http://docs.python.org/library/exceptions.html#exceptions.DeprecationWarning)

-- 
Lars Buitinck
Scientific programmer, ILPS
University of Amsterdam

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
Learn about the latest advances in developing for the 
BlackBerry&reg; mobile platform with sessions, labs & more.
See new tools and technologies. Register for BlackBerry&reg; DevCon today!
http://p.sf.net/sfu/rim-devcon-copy1 
_______________________________________________
Scikit-learn-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general

Reply via email to