[Numpy-svn] r2956 - in trunk/numpy: . dft lib

numpy-svn at scipy.org numpy-svn at scipy.org
Fri Aug 4 18:38:30 CDT 2006


Author: oliphant
Date: 2006-08-04 18:38:27 -0500 (Fri, 04 Aug 2006)
New Revision: 2956

Added:
   trunk/numpy/dft/
   trunk/numpy/dft/__init__.py
Modified:
   trunk/numpy/lib/UserArray.py
Log:
Add back dft stub and alter warning.

Added: trunk/numpy/dft/__init__.py
===================================================================
--- trunk/numpy/dft/__init__.py	2006-08-04 23:35:03 UTC (rev 2955)
+++ trunk/numpy/dft/__init__.py	2006-08-04 23:38:27 UTC (rev 2956)
@@ -0,0 +1,4 @@
+import warnings
+warnings.warn("The dft subpackage will be removed by 1.0 final -- it is now called fft")
+from numpy.fft import *
+del warnings

Modified: trunk/numpy/lib/UserArray.py
===================================================================
--- trunk/numpy/lib/UserArray.py	2006-08-04 23:35:03 UTC (rev 2955)
+++ trunk/numpy/lib/UserArray.py	2006-08-04 23:38:27 UTC (rev 2956)
@@ -1,3 +1,3 @@
 from user_array import container as UserArray 
 import warnings
-warnings.warn('UserArray.UserArray is deprecated use user_array.container')
+warnings.warn('UserArray.UserArray will be removed by 1.0final use user_array.container')



More information about the Numpy-svn mailing list