On Tue, 17 Jul 2012, Yaroslav Halchenko wrote:
> I have tested on a sparc box and current master seems to not show this
> particular problem (see below though) -- does anyone remember this
> particular issue and commit which fixed it?
I am sorry -- I got lost among architectures and what fails wh
If the image will always be 2D, you can add
cdef Py_ssize_t shape[2]
To your cdef class and assign self.shape to the Py_buffer. This is a bit more
efficient.
Dag
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Christian Heimes wrote:
Am 17.07.2012 22:55, schrieb Chris
Am 18.07.2012 07:18, schrieb Stefan Behnel:
> BTW, note that your question is better suited for the Cython users mailing
> list than the core developer mailing list.
I'm sorry. I didn't know Cython had a user list, too. Thanks Stefan!
Christian
___
cyth
Am 17.07.2012 22:55, schrieb Christian Heimes:
> Either I'm doing something wrong or I found a Cython bug. I've attached
> two files. The output is unexpected and looks like something is
> accessing uninitialized memory:
For the record:
It's my fault. The shade and stripes Py_ssize_t* arrays can't
Hi,
the following pull request tries to fix the fact that we currently generate
arguments of type "PyObject*" when someone spells out "type" for them.
https://github.com/cython/cython/pull/126
That's mostly a problem in CPython's C-API, but also in some NumPy
functions. The correct way to transl