[pypy-commit] pypy python-numpy: stub out fftpack_lite

mattip noreply at buildbot.pypy.org
Thu Aug 23 14:10:59 CEST 2012


Author: Matti Picus <matti.picus at gmail.com>
Branch: python-numpy
Changeset: r56820:1fee8b35617c
Date: 2012-08-23 14:34 +0300
http://bitbucket.org/pypy/pypy/changeset/1fee8b35617c/

Log:	stub out fftpack_lite

diff --git a/lib_pypy/numpypy/__init__.py b/lib_pypy/numpypy/__init__.py
--- a/lib_pypy/numpypy/__init__.py
+++ b/lib_pypy/numpypy/__init__.py
@@ -59,6 +59,7 @@
 
 setattr(_numpypy, 'frompyfunc', not_implemented_func)
 setattr(_numpypy, 'mod', not_implemented_func)
+setattr(_numpypy, 'conjugate', not_implemented_func)
 
 #mangle the __all__ of numpy.core so that import numpy.core.numerictypes works
 from numpy import core
@@ -72,6 +73,9 @@
 # 
 import linalg
 sys.modules['numpy.linalg'] = linalg
+
+import fftpack_lite
+sys.modules['fftpack_lite'] = fftpack_lite
 del _math
 
 
diff --git a/lib_pypy/numpypy/fftpack_lite.py b/lib_pypy/numpypy/fftpack_lite.py
new file mode 100644
--- /dev/null
+++ b/lib_pypy/numpypy/fftpack_lite.py
@@ -0,0 +1,6 @@
+
+def cffti(*args, **kwargs):
+    raise NotImplementedError("not implemented yet")
+
+def cfftf(*args, **kwargs):
+    raise NotImplementedError("not implemented yet")


More information about the pypy-commit mailing list