STINNER Victor added the comment:

> Under very low memory condition, PyErr_NoMemory() or 
> PyErr_NormalizeException() enters an unlimited loop when the free list of 
> MemoryError becomes empty.

I got this bug when I worked on the issue #19817 which adds an arbitary limit 
to memory allocations using tracemalloc. I used this limit on the Python test 
suite to check how Python behaves under very low memory condition.

----------

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

Reply via email to