robertwb / issues-import-test

0 stars 0 forks source link

cdef public attributes don't work for extension types #49

Closed robertwb closed 8 years ago

robertwb commented 8 years ago

Reported by robertwb on 16 Jul 2008 06:51 UTC

On Jul 11, 2008, at 11:50 PM, Joshua Kantor wrote:

cdef readonly actually works with the numpy arrays,
cdef public does not however. In principle it should be possible to assign a to it, but you of course could only assign a numpy array.

There is code to do c-type conversion on assignment, it shouldn't be hard to do type checking too

Migrated-From: http://trac.cython.org/ticket/23

robertwb commented 8 years ago

Comment by robertwb on 3 Aug 2008 04:57 UTC Fixed in

http://hg.cython.org/cython-devel/rev/193fe7e34b57 http://hg.cython.org/cython-devel/rev/19282c553659 http://hg.cython.org/cython-devel/rev/8b22ff3db9f7

robertwb commented 8 years ago

Comment by robertwb on 16 Aug 2008 11:18 UTC There appears to be some regression here with public attributes declared in .pxd files.

robertwb commented 8 years ago

Modified by robertwb on 16 Aug 2008 11:18 UTC

robertwb commented 8 years ago

Comment by robertwb on 16 Aug 2008 11:28 UTC Transforms now run on .pxd files as well.

robertwb commented 8 years ago

Modified by robertwb on 19 Aug 2008 04:05 UTC