Jukka Laurila <jukka.p.laur...@nokia.com> added the comment: Brett is right. Macroing the memory allocator is a better choice than forcing indirection on all platforms. We did this on Python for S60, using the macros PyCore_{MALLOC,REALLOC,FREE}_FUNC for interpreter's allocations, and then redirected those to a mechanism that allows to set the allocator at runtime.
Sorry we don't have a clean patch at present for this change only, but in case anyone's interested the full source is at https://garage.maemo.org/frs/?group_id=854 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3329> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com