Stefan Behnel | 1 Apr 2012 07:06
Picon
Favicon

Re: Possible to make cdef classes behave as regular ones?

Robert Bradshaw, 01.04.2012 01:49:
> On Sat, Mar 31, 2012 at 4:00 PM, orson peters wrote:
>> Is it possible to make cdef classes have all the properties regular
>> classes have (most importantly assigning arbitrary elements)?
>>
>> If not, perhaps it can be added in pretty much the same way like weak
>> referencing (with a field that has to be explicitly defined)?
> 
> Not currently

And this is a rather long standing feature request.

http://trac.cython.org/cython_trac/ticket/745

CC'ing Lisandro here because he originally had a patch for it that may be a
good start.

Stefan


Gmane