[Numpy-svn] r2971 - in trunk/numpy: numarray oldnumeric

numpy-svn at scipy.org numpy-svn at scipy.org
Sat Aug 5 16:36:42 EDT 2006


Author: oliphant
Date: 2006-08-05 15:36:39 -0500 (Sat, 05 Aug 2006)
New Revision: 2971

Modified:
   trunk/numpy/numarray/alter_code2.py
   trunk/numpy/oldnumeric/alter_code2.py
Log:
Minor changes to alter_code scripts

Modified: trunk/numpy/numarray/alter_code2.py
===================================================================
--- trunk/numpy/numarray/alter_code2.py	2006-08-05 20:24:55 UTC (rev 2970)
+++ trunk/numpy/numarray/alter_code2.py	2006-08-05 20:36:39 UTC (rev 2971)
@@ -1,29 +1,16 @@
 """
-This module converts code written for numpy.oldnumeric to work
+This module converts code written for numpy.numarray to work
 with numpy
 
-Makes the following changes:
- * Converts typecharacters '1swu' to 'bhHI' respectively
-   when used as typecodes
- * Changes import statements
- * Change typecode= to dtype=
- * Eliminates savespace=xxx keyword arguments
- *  Removes it when keyword is not given as well
- * replaces matrixmultiply with dot
- * converts functions that don't give axis= keyword that have changed
- * converts functions that don't give typecode= keyword that have changed
- * converts use of capitalized type-names
- * converts old function names in oldnumeric.linear_algebra,
-   oldnumeric.random_array, and oldnumeric.fft
-
 """
 #__all__ = ['fromfile', 'fromstr']
 __all__ = []
 
 import warnings
-warnings.warn("convetnumericB is not finished yet.")
-
+warnings.warn("numpy.numarray.alter_code2 is not ready yet.")
 import sys
+
+
 import os
 import re
 import glob

Modified: trunk/numpy/oldnumeric/alter_code2.py
===================================================================
--- trunk/numpy/oldnumeric/alter_code2.py	2006-08-05 20:24:55 UTC (rev 2970)
+++ trunk/numpy/oldnumeric/alter_code2.py	2006-08-05 20:36:39 UTC (rev 2971)
@@ -21,7 +21,7 @@
 __all__ = []
 
 import warnings
-warnings.warn("convetnumericB is not finished yet.")
+warnings.warn("numpy.oldnumeric.alter_code2 is not ready yet.")
 
 import sys
 import os




More information about the Numpy-svn mailing list