Matt Bandy <matt.ba...@thq.com> added the comment:

It's a pretty major limitation on the embedding case if you can't allow other 
threads that aren't related to Python to run at any time that another thread 
may be in obmalloc, and one I haven't seen documented anywhere.  The only other 
fix that occurs to me would be to ensure that any memory Python allocates is 
not in the same page as memory not allocated by Python, but that seems like it 
would be much more complex than the current "just call malloc()" solution.  
Your proposed change to the macro sounds more reasonable to me.

----------

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

Reply via email to