Message79309
| Author |
jlaurila |
| Recipients |
Rhamphoryncus, barry, brett.cannon, jlaurila, ncoghlan, neilo, rhettinger |
| Date |
2009年01月07日.09:18:24 |
| SpamBayes Score |
0.15528259 |
| Marked as misclassified |
No |
| Message-id |
<1231319905.28.0.263491103532.issue3329@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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 |
|