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

numpy-svn at scipy.org numpy-svn at scipy.org
Wed Nov 22 05:19:22 CST 2006


Author: stefan
Date: 2006-11-22 05:19:08 -0600 (Wed, 22 Nov 2006)
New Revision: 3458

Modified:
   trunk/numpy/numarray/linear_algebra.py
   trunk/numpy/oldnumeric/matrix.py
   trunk/numpy/oldnumeric/mlab.py
Log:
Don't share __all__ between numarray.linear_algebra and oldnumeric.linear_algebra.


Modified: trunk/numpy/numarray/linear_algebra.py
===================================================================
--- trunk/numpy/numarray/linear_algebra.py	2006-11-21 17:13:14 UTC (rev 3457)
+++ trunk/numpy/numarray/linear_algebra.py	2006-11-22 11:19:08 UTC (rev 3458)
@@ -3,7 +3,7 @@
 
 import numpy.oldnumeric.linear_algebra as nol
 
-__all__ = nol.__all__
+__all__ = list(nol.__all__)
 __all__ += ['qr_decomposition']
 
 from numpy.linalg import qr as _qr

Modified: trunk/numpy/oldnumeric/matrix.py
===================================================================
--- trunk/numpy/oldnumeric/matrix.py	2006-11-21 17:13:14 UTC (rev 3457)
+++ trunk/numpy/oldnumeric/matrix.py	2006-11-22 11:19:08 UTC (rev 3458)
@@ -7,7 +7,7 @@
 from user_array import UserArray, asarray
 import numpy.oldnumeric as Numeric
 from numpy.oldnumeric import dot, identity, multiply
-import linear_algebra as LinearAlgebra
+import numpy.oldnumeric.linear_algebra as LinearAlgebra
 from numpy import matrix as Matrix, squeeze
 
 # Hidden names that will be the same. 

Modified: trunk/numpy/oldnumeric/mlab.py
===================================================================
--- trunk/numpy/oldnumeric/mlab.py	2006-11-21 17:13:14 UTC (rev 3457)
+++ trunk/numpy/oldnumeric/mlab.py	2006-11-22 11:19:08 UTC (rev 3458)
@@ -2,8 +2,8 @@
 
 __all__ = ['rand', 'tril', 'trapz', 'hanning', 'rot90', 'triu', 'diff', 'angle', 'roots', 'ptp', 'kaiser', 'randn', 'cumprod', 'diag', 'msort', 'LinearAlgebra', 'RandomArray', 'prod', 'std', 'hamming', 'flipud', 'max', 'blackman', 'corrcoef', 'bartlett', 'eye', 'squeeze', 'sinc', 'tri', 'cov', 'svd', 'min', 'median', 'fliplr', 'eig', 'mean']
 
-import linear_algebra as LinearAlgebra
-import random_array as RandomArray
+import numpy.oldnumeric.linear_algebra as LinearAlgebra
+import numpy.oldnumeric.random_array as RandomArray
 from numpy import tril, trapz as _Ntrapz, hanning, rot90, triu, diff, \
      angle, roots, ptp as _Nptp, kaiser, cumprod as _Ncumprod, \
      diag, msort, prod as _Nprod, std as _Nstd, hamming, flipud, \



More information about the Numpy-svn mailing list