replying to myself here... Stefan Behnel wrote: > Supporting realloc is also trivial as in > > mem.realloc(2 * len(mem))
It's actually not that trivial for a PyVarObject. This would work better:
mem = mem.realloc(2*len(mem))
but if you write
mem2 = mem1.realloc(2*len(mem1))
then mem1 will be broken after that.
That's not trivial to fix ...
Stefan
_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev
