[Scipy-svn] r3362 - trunk/scipy/misc

scipy-svn@scip... scipy-svn@scip...
Sat Sep 22 23:10:57 CDT 2007


Author: jarrod.millman
Date: 2007-09-22 23:10:45 -0500 (Sat, 22 Sep 2007)
New Revision: 3362

Modified:
   trunk/scipy/misc/limits.py
Log:
Deprecating scipy.misc.limits


Modified: trunk/scipy/misc/limits.py
===================================================================
--- trunk/scipy/misc/limits.py	2007-09-23 03:48:23 UTC (rev 3361)
+++ trunk/scipy/misc/limits.py	2007-09-23 04:10:45 UTC (rev 3362)
@@ -1,6 +1,11 @@
 """ Machine limits for Float32 and Float64.
 """
 
+import warnings
+warnings.warn('limits module is deprecated, please use numpy.finfo instead',
+              DeprecationWarning)
+
+
 __all__ = ['float_epsilon','float_tiny','float_min',
            'float_max','float_precision','float_resolution',
            'single_epsilon','single_tiny','single_min','single_max',



More information about the Scipy-svn mailing list