Re: [Cython] How should be C-clobal deletion handled?

2013-05-25 Thread Robert Bradshaw
On May 25, 2013 10:37 AM, "Vitja Makarov" wrote: > > > > > 2013/5/25 Stefan Behnel >> >> Am 25.05.2013 08:34, schrieb Robert Bradshaw: >> > On Thu, May 23, 2013 at 10:02 PM, Vitja Makarov wrote: >> >> Recently I've found that the following code causes segmentation fault: >> >> >> >> cdef object f

Re: [Cython] How should be C-clobal deletion handled?

2013-05-25 Thread Nikita Nemkin
On Sat, 25 May 2013 23:29:29 +0600, Vitja Makarov wrote: 2013/5/25 Stefan Behnel Am 25.05.2013 08:34, schrieb Robert Bradshaw: > On Thu, May 23, 2013 at 10:02 PM, Vitja Makarov wrote: >> Recently I've found that the following code causes segmentation fault: >> >> cdef object f >> del f

Re: [Cython] How should be C-clobal deletion handled?

2013-05-25 Thread Vitja Makarov
2013/5/25 Stefan Behnel > Am 25.05.2013 08:34, schrieb Robert Bradshaw: > > On Thu, May 23, 2013 at 10:02 PM, Vitja Makarov wrote: > >> Recently I've found that the following code causes segmentation fault: > >> > >> cdef object f > >> del f > >> print f > >> > >> So the question is: how should t

Re: [Cython] How should be C-clobal deletion handled?

2013-05-25 Thread Stefan Behnel
Am 25.05.2013 08:34, schrieb Robert Bradshaw: > On Thu, May 23, 2013 at 10:02 PM, Vitja Makarov wrote: >> Recently I've found that the following code causes segmentation fault: >> >> cdef object f >> del f >> print f >> >> So the question is: how should that work? >> >> global objects are implicitl