[issue16381] Introduce option to force the interpreter to exit upon MemoryErrors

Christian Theune report at bugs.python.org
Fri Nov 2 09:47:23 CET 2012


Christian Theune added the comment:

I pondered PyErr_NoMemory as well. However, I noticed not all locations in Python use PyErr_NoMemory to raise a MemoryError, and I'm also afraid that external libraries will have the same problem.

Can you explain why you consider PyErr_NoMemory to be the better option? (I can think of performance but I wouldn't want to trade it in against reliability.)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16381>
_______________________________________


More information about the Python-bugs-list mailing list