Author: Maciej Fijalkowski <[email protected]>
Branch: numpy-record-dtypes
Changeset: r52161:15d89f64aa44
Date: 2012-02-07 12:48 +0200
http://bitbucket.org/pypy/pypy/changeset/15d89f64aa44/

Log:    slightly more rpython friendly way of failing

diff --git a/pypy/module/micronumpy/interp_dtype.py 
b/pypy/module/micronumpy/interp_dtype.py
--- a/pypy/module/micronumpy/interp_dtype.py
+++ b/pypy/module/micronumpy/interp_dtype.py
@@ -74,7 +74,7 @@
             except KeyError:
                 pass
         elif space.isinstance_w(w_dtype, space.w_list):
-            xxx
+            raise NotImplementedError
         else:
             for dtype in cache.builtin_dtypes:
                 if w_dtype in dtype.alternate_constructors:
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to