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

2013-05-23 Thread Greg Ewing
Vitja Makarov wrote: Recently I've found that the following code causes segmentation fault: cdef object f del f print f FWIW, Pyrex disallows using del on cdef names. -- Greg ___ cython-devel mailing list cython-devel@python.org http://mail.python.o

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

2013-05-23 Thread Vitja Makarov
Hi! 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 implicitly initialized to None and no CF and no cf analysis is performed for it. So I see three options here: 1. prohibit cglobal