Georg Brandl added the comment:

> We have to be careful with the GIL: PyMem_*() functions can only be
> called when holding the GIL.

> Some libraries can be configured to use a custom memory allocators:
> [...]
> We should probably uses these functions to reuse Python allocators 
> (PyMem_Malloc())

I think there's a potential problem here :)

----------
nosy: +georg.brandl

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue18203>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to