[Python-Dev] cpython: Implement PEP 412: Key-sharing dictionaries (closes #13903)

Nick Coghlan ncoghlan at gmail.com
Tue Apr 24 13:41:33 CEST 2012

On Tue, Apr 24, 2012 at 8:24 PM, Kristján Valur Jónsson
<kristjan at ccpgames.com> wrote:
> Perhaps I should write about this on my blog.  Updating the memory allocation macro layer in
> cPython for embedding is something I'd be inclined to contribute, but it will involve a large amount
> of bikeshedding, I'm sure :)

Trawl the tracker before you do - I'm pretty sure there's a patch
(from the Nokia S60 port, IIRC) that adds a couple of macro
definitions so that platform ports and embedding applications can
intercept malloc() and free() calls.

It would be way out of date by now, but I seem to recall thinking it
looked reasonable at a quick glance.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list