Charles-Francois Natali <neolo...@free.fr> added the comment:

Even worse than that, mixing to malloc implementations could lead to trouble.
For example, the trimming code ensures that the heap is where it last set it. 
So if an allocation has been made by another implementation in the meantime, 
the heap won't be trimmed, and your memory usage won't decrease. Also, it'll 
increase memory fragmentation.
Finally, I've you've got two threads inside different malloc implementations at 
the same time, well, some really bad things could happen.
And there are probably many other reasons why it's a bad idea.

----------

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

Reply via email to