From fbf0b479604c22e60215bb28cdedabfb821b9d75 Mon Sep 17 00:00:00 2001 From: Travis Oliphant Date: Mon, 12 Jun 2006 22:58:43 +0000 Subject: Check-in name-space changes so that numpy.oldnumeric is the compatibility module and numpy does not contain all of the names. --- numpy/lib/convertcode.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'numpy/lib/convertcode.py') diff --git a/numpy/lib/convertcode.py b/numpy/lib/convertcode.py index d45bd2fe3..b58e56b78 100644 --- a/numpy/lib/convertcode.py +++ b/numpy/lib/convertcode.py @@ -91,12 +91,12 @@ def replaceother(astr): import datetime def fromstr(filestr): filestr = replacetypechars(filestr) - filestr, fromall1 = changeimports(filestr, 'Numeric', 'numpy') + filestr, fromall1 = changeimports(filestr, 'Numeric', 'numpy.oldnumeric') filestr, fromall1 = changeimports(filestr, 'multiarray', 'numpy.core.multiarray') filestr, fromall1 = changeimports(filestr, 'umath', 'numpy.core.umath') - filestr, fromall1 = changeimports(filestr, 'Precision', 'numpy') + filestr, fromall1 = changeimports(filestr, 'Precision', 'numpy.oldnumeric') filestr, fromall2 = changeimports(filestr, 'numerix', 'numpy') filestr, fromall3 = changeimports(filestr, 'scipy_base', 'numpy') filestr, fromall3 = changeimports(filestr, 'MLab', 'numpy.lib.mlab') -- cgit v1.2.1