<p dir="ltr"><br>
On 16 Jun 2013 10:54, "Victor Stinner" <<a href="mailto:victor.stinner@gmail.com">victor.stinner@gmail.com</a>> wrote:<br>
><br>
> 2013/6/15 Antoine Pitrou <<a href="mailto:solipsis@pitrou.net">solipsis@pitrou.net</a>>:<br>
> > Moreover, I think you are conflating two issues: the ability to add<br>
> > memory allocation hooks (for tracing/debugging purposes), and the<br>
> > adaptation to "non-traditional" memory models (whatever that means).<br>
> > Those concerns don't necessarily come together.<br>
><br>
> In my implementation, both uses case use the same API:<br>
> PyMem_SetAllocators(), except that hooks need also<br>
> PyMem_GetAllocators().</p>
<p dir="ltr">Right - they're different use cases that share a technical solution, so it makes sense to consider them together.</p>
<p dir="ltr">Cheers,<br>
Nick.</p>
<p dir="ltr">><br>
> Victor<br>
> _______________________________________________<br>
> Python-Dev mailing list<br>
> <a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
> <a href="http://mail.python.org/mailman/listinfo/python-dev">http://mail.python.org/mailman/listinfo/python-dev</a><br>
> Unsubscribe: <a href="http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com">http://mail.python.org/mailman/options/python-dev/ncoghlan%40gmail.com</a><br>
</p>