[pypy-commit] pypy numpy-record-dtypes: a no-progress checkin
fijal
noreply at buildbot.pypy.org
Thu Feb 9 22:00:36 CET 2012
Author: Maciej Fijalkowski <fijall at gmail.com>
Branch: numpy-record-dtypes
Changeset: r52334:0901f6dc83de
Date: 2012-02-09 22:59 +0200
http://bitbucket.org/pypy/pypy/changeset/0901f6dc83de/
Log: a no-progress checkin
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
@@ -140,6 +140,9 @@
"V", space.gettypefor(interp_boxes.W_VoidBox), fields=fields,
fieldnames=fieldnames)
+def dtype_from_dict(space, w_dict):
+ xxx
+
def variable_dtype(space, name):
if name[0] in '<>':
# ignore byte order, not sure if it's worth it for unicode only
diff --git a/pypy/module/micronumpy/test/test_dtypes.py b/pypy/module/micronumpy/test/test_dtypes.py
--- a/pypy/module/micronumpy/test/test_dtypes.py
+++ b/pypy/module/micronumpy/test/test_dtypes.py
@@ -509,4 +509,5 @@
def test_create_from_dict(self):
from _numpypy import dtype
- d = dtype({...})
+ d = dtype({'names': ['a', 'b', 'c'],
+ })
More information about the pypy-commit
mailing list