Re: [Cython] [cython-users] malloc vs PyMem_malloc

2011-12-11 Thread Stefan Behnel
mark florisson, 11.12.2011 01:02: On 10 December 2011 22:00, Stefan Behnel wrote: mark florisson, 10.12.2011 21:44: On 10 December 2011 20:39, mark florisson wrote: On 10 December 2011 19:16, Robert Bradshaw wrote: On this note, a useful pattern is try: x = malloc(...) finally: free(

Re: [Cython] [cython-users] malloc vs PyMem_malloc

2011-12-10 Thread mark florisson
On 10 December 2011 22:00, Stefan Behnel wrote: > mark florisson, 10.12.2011 21:44: >> >> On 10 December 2011 20:39, mark florisson wrote: >> >>> On 10 December 2011 19:16, Robert Bradshaw wrote: On this note, a useful pattern is try:    x = malloc(...) finally: