[Scipy-svn] r4388 - branches/refactor_fft/scipy/fftpack

scipy-svn at scipy.org scipy-svn at scipy.org
Wed May 28 01:32:53 EDT 2008


Author: cdavid
Date: 2008-05-28 00:32:41 -0500 (Wed, 28 May 2008)
New Revision: 4388

Modified:
   branches/refactor_fft/scipy/fftpack/common.py
Log:
Add comment on how we load backends.

Modified: branches/refactor_fft/scipy/fftpack/common.py
===================================================================
--- branches/refactor_fft/scipy/fftpack/common.py	2008-05-28 05:16:12 UTC (rev 4387)
+++ branches/refactor_fft/scipy/fftpack/common.py	2008-05-28 05:32:41 UTC (rev 4388)
@@ -36,6 +36,9 @@
 
     Name should be fftw3, etc..."""
     mod = __import__("scipy.fftpack.backends", fromlist = [name])
+
+    # Because of nose trying to import backends, we do not generate ImporError
+    # in backends, but we only set IS_INIT to true if the backend is available
     try:
         ret = mod.__dict__[name]
         if ret.IS_INIT:




More information about the Scipy-svn mailing list