[Scipy-svn] r6707 - trunk/tools

scipy-svn at scipy.org scipy-svn at scipy.org
Sat Sep 11 20:46:49 EDT 2010


Author: ptvirtan
Date: 2010-09-11 19:46:49 -0500 (Sat, 11 Sep 2010)
New Revision: 6707

Modified:
   trunk/tools/py3tool.py
Log:
3K: minor fftpack fixes to make it work on py3.

Modified: trunk/tools/py3tool.py
===================================================================
--- trunk/tools/py3tool.py	2010-09-12 00:46:37 UTC (rev 6706)
+++ trunk/tools/py3tool.py	2010-09-12 00:46:49 UTC (rev 6707)
@@ -138,13 +138,15 @@
         os.path.join('cluster', '__init__.py'),
         os.path.join('cluster', 'hierarchy.py'),
         os.path.join('cluster', 'vq.py'),
+        os.path.join('fftpack', 'basic.py'),
+        os.path.join('fftpack', 'pseudo_diffs.py'),
     ]
 
     if any(filename.endswith(x) for x in import_mangling):
         f = open(filename, 'r')
         text = f.read()
         f.close()
-        for mod in ['_vq', '_hierarchy_wrap']:
+        for mod in ['_vq', '_hierarchy_wrap', '_fftpack', 'convolve']:
             text = re.sub(r'^(\s*)import %s' % mod,
                           r'\1from . import %s' % mod,
                           text, flags=re.M)




More information about the Scipy-svn mailing list