On 8/29/07, Martin Albrecht <[EMAIL PROTECTED]> wrote: > It seems that none of those is a memleak because they all operate on a Python > objects only which should be taken care of py Cython.
What does this sentence refer to? The ntl wrapper stuff? Something else? The ntl wrapper stuff is definitely a memleak -- to fix it we just need to write a function that converts a char* to a Python string and deletes the char*'s memory. If you're referring to some other Cython code, sometimes it will leak if really awkward exception handling is being used -- in such cases the code must be rewritten. > > Martin > > -- > name: Martin Albrecht > _pgp: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x8EF0DC99 > _www: http://www.informatik.uni-bremen.de/~malb > _jab: [EMAIL PROTECTED] > > > > > -- William Stein Associate Professor of Mathematics University of Washington http://www.williamstein.org --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-devel URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/ -~----------~----~----~----~------~----~------~--~---
