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

Antoine Pitrou report at bugs.python.org
Sun Oct 6 23:06:13 CEST 2013


Antoine Pitrou added the comment:

If we want to get more sophisticated, I would suggest a two-pronged approach:
- first call a user-defined oom function
- if calling the user-defined oom function raises MemoryError, dump a fatal error

----------
nosy: +pitrou

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


More information about the Python-bugs-list mailing list