On Feb 20, 2009, at 1:25 AM, Stefan Behnel wrote: > Dag Sverre Seljebotn wrote: >> The solution may be to change the way Cython/Runtime/refnanny.pyx >> reports errors, for instance change Context.delref to do a >> print/sys.exit(1) thing instead of raising an exception > > I would prefer a simple sys.__stderr__.write() with some helpful > information in a dedicated code line that you could point gdb to. > Killing > the process sounds everything but helpful. Note that sys.exit() > also just > raises an exception, as opposed to os._exit().
+1. If memory is leaking, I'd rather have it tell me and move on. Of course if there are reference errors later on it may segfault, but at least I'd have useful information already. - Robert _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
