Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r65897:bf28f2841084
Date: 2013-07-28 21:49 +0200
http://bitbucket.org/pypy/pypy/changeset/bf28f2841084/
Log:- cpyext/ndarrayobject.py: Rename PyArray_* routines to _PyArray_*
to avoid name clashes with other implementations of n
ex *);
Py_LOCAL_INLINE(Py_complex) PyComplex_AsCComplex(PyObject *obj)
{
@@ -24,7 +25,12 @@
return result;
}
-#define PyComplex_FromCComplex(c) _PyComplex_FromCComplex(&c)
+// shmuller 2013/07/30: Make a function, since macro will fail in C++ due to
+// const corr
-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
@@ -804,10 +804,12 @@
self.dtypes_by_name[alias] = dtype
self.dtypes_by_name[dtype.char] =
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66337:aabf1cc286a7
Date: 2013-07-31 00:42 +0200
http://bitbucket.org/pypy/pypy/changeset/aabf1cc286a7/
Log:- cpyext/include: Add a few definitions needed by PyCXX to headers
(for matplotlib build).
- NEW: cpyext/include
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66345:8a17098648b8
Date: 2013-08-08 18:16 +0200
http://bitbucket.org/pypy/pypy/changeset/8a17098648b8/
Log:Declare PyArray_Type as extern.
diff --git a/pypy/module/cpyext/include/numpy/arrayobject.h
b/pypy/module/cpyext/include/numpy
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66346:56fa5d73e5ec
Date: 2013-08-10 00:33 +0200
http://bitbucket.org/pypy/pypy/changeset/56fa5d73e5ec/
Log:Implement PyNumber_Float() as space.float(w_obj).
diff --git a/pypy/module/cpyext/floatobject.py
b/pypy/module/cpyext/floatobj
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66336:eba88c40cdfa
Date: 2013-07-30 20:24 +0200
http://bitbucket.org/pypy/pypy/changeset/eba88c40cdfa/
Log:- cpyext/number.py, cpyext/test/test_number.py: Implement
PyNumber_CoerceEx() and PyNumber_Coerce().
diff --git a/pypy/
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66333:ada4abc58e15
Date: 2013-07-28 21:49 +0200
http://bitbucket.org/pypy/pypy/changeset/ada4abc58e15/
Log:- cpyext/ndarrayobject.py: Rename PyArray_* routines to _PyArray_*
to avoid name clashes with other implementations of n
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66343:bb2aafab5a92
Date: 2013-08-08 00:41 +0200
http://bitbucket.org/pypy/pypy/changeset/bb2aafab5a92/
Log:Add PyArray_New() and many macros for f2py.
The modified version of f2py from the numpy pypy-hack branch
genera
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66332:01fc9f0596f2
Date: 2013-07-28 15:12 +0200
http://bitbucket.org/pypy/pypy/changeset/01fc9f0596f2/
Log:- Add cpyext implementation of Numpy PyArray_* C-API
* pypy/module/cpyext/include/numpy/arrayobject.h
* py
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66349:01ebe4a52002
Date: 2013-08-11 21:09 +0200
http://bitbucket.org/pypy/pypy/changeset/01ebe4a52002/
Log:ndarray.nonzero(): Deal with scalars, add test.
- lib_pypy/numpypy/core/fromnumeric.py: Put original numpy
impl
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66340:ca566c12805d
Date: 2013-08-01 08:54 +0200
http://bitbucket.org/pypy/pypy/changeset/ca566c12805d/
Log:- Add missing symbols for importing matplotlib.
diff --git a/pypy/module/cpyext/api.py b/pypy/module/cpyext/api.py
--- a/pypy/m
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66344:232f215b317d
Date: 2013-08-08 16:16 +0200
http://bitbucket.org/pypy/pypy/changeset/232f215b317d/
Log:Implement PyArray_FLAGS()
- ndarrayobject.py: Implement PyArray_FLAGS() instead of
PyArray_ISCONTIGUOUS(). This
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66339:4a0adafeea01
Date: 2013-07-31 17:55 +0200
http://bitbucket.org/pypy/pypy/changeset/4a0adafeea01/
Log:- cpyext/include/numpy/arrayobject.h: Many more definitions.
Succeeded to compile a patched version of matplotlib with t
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66348:f0b2849dfe98
Date: 2013-08-11 18:59 +0200
http://bitbucket.org/pypy/pypy/changeset/f0b2849dfe98/
Log:Implement ndarray.nonzero()
diff --git a/pypy/module/micronumpy/interp_numarray.py
b/pypy/module/micronumpy/interp_numarray.py
t.h
--- a/pypy/module/cpyext/include/complexobject.h
+++ b/pypy/module/cpyext/include/complexobject.h
@@ -28,7 +28,7 @@
// shmuller 2013/07/30: Make a function, since macro will fail in C++ due to
// const correctness if called with "const Py_complex"
//#define PyComplex
rffi.CCHARP -> CONST_STRING for
const correctness.
diff --git a/pypy/module/cpyext/include/complexobject.h
b/pypy/module/cpyext/include/complexobject.h
--- a/pypy/module/cpyext/include/complexobject.h
+++ b/pypy/module/cpyext/include/complexobject.h
@@ -28,7 +28,7 @@
// shmuller 2013/07
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66347:82c65a5a6f82
Date: 2013-08-10 23:20 +0200
http://bitbucket.org/pypy/pypy/changeset/82c65a5a6f82/
Log:array() constructor now uses for __array__() method.
diff --git a/pypy/module/micronumpy/base.py b/pypy/module/micronumpy/base.
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66338:53d9c2233349
Date: 2013-07-31 02:59 +0200
http://bitbucket.org/pypy/pypy/changeset/53d9c2233349/
Log:- cpyext/include/numpy/arrayobject.h: Many more definitions.
diff --git a/pypy/module/cpyext/include/numpy/arrayobject.h
b/pyp
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66351:81c7341f996b
Date: 2013-08-13 01:06 +0200
http://bitbucket.org/pypy/pypy/changeset/81c7341f996b/
Log:Implement fijal's approach for nonzero()
- Iterators get get_index() method.
- create_iter() get additional key
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66350:b70301c90922
Date: 2013-08-12 23:49 +0200
http://bitbucket.org/pypy/pypy/changeset/b70301c90922/
Log:Put split nonzero() between scalar.py, concrete.py and loops.py.
- Separate implementations for 1D and ND case. Try to
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66342:09db6e0e5c1d
Date: 2013-08-06 00:12 +0200
http://bitbucket.org/pypy/pypy/changeset/09db6e0e5c1d/
Log:Add some missing numpypy features
- ndarrayobject.py: PyArray_Check(), PyArray_CheckExact()
- interp_numarray.p
Author: Stefan H. Muller
Branch: pypy-pyarray
Changeset: r66334:3f9be1d43a61
Date: 2013-07-30 11:59 +0200
http://bitbucket.org/pypy/pypy/changeset/3f9be1d43a61/
Log:- cpyext/ndarrayobject.py: Add support for PyArray_STRIDE() and
PyArray_FromObject().
- cpyext/include/numpy: Ad
23 matches
Mail list logo