diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/dft/info.py | 1 | ||||
-rw-r--r-- | numpy/lib/convertcode.py | 9 | ||||
-rw-r--r-- | numpy/random/info.py | 1 |
3 files changed, 5 insertions, 6 deletions
diff --git a/numpy/dft/info.py b/numpy/dft/info.py index 8b81b8669..4aa9b7d2c 100644 --- a/numpy/dft/info.py +++ b/numpy/dft/info.py @@ -27,4 +27,3 @@ Core FFT routines """ depends = ['core'] -global_symbols = ['fft','ifft'] diff --git a/numpy/lib/convertcode.py b/numpy/lib/convertcode.py index b58e56b78..38c10dc82 100644 --- a/numpy/lib/convertcode.py +++ b/numpy/lib/convertcode.py @@ -28,12 +28,13 @@ import glob flatindex_re = re.compile('([.]flat(\s*?[[=]))') +# Not very safe. Disabled for now.. def replacetypechars(astr): -# astr = astr.replace("'s'","'h'") -# astr = astr.replace("'c'","'S1'") + astr = astr.replace("'s'","'h'") + astr = astr.replace("'c'","'S1'") astr = astr.replace("'b'","'B'") astr = astr.replace("'1'","'b'") -# astr = astr.replace("'w'","'H'") + astr = astr.replace("'w'","'H'") astr = astr.replace("'u'","'I'") return astr @@ -90,7 +91,7 @@ def replaceother(astr): import datetime def fromstr(filestr): - filestr = replacetypechars(filestr) + #filestr = replacetypechars(filestr) filestr, fromall1 = changeimports(filestr, 'Numeric', 'numpy.oldnumeric') filestr, fromall1 = changeimports(filestr, 'multiarray', 'numpy.core.multiarray') diff --git a/numpy/random/info.py b/numpy/random/info.py index 060cd3993..8c2cae44a 100644 --- a/numpy/random/info.py +++ b/numpy/random/info.py @@ -5,7 +5,6 @@ Core Random Tools """ depends = ['core'] -global_symbols = ['rand','randn'] __all__ = [ 'beta', |