[issue18748] io.IOBase destructor silence I/O error on close() by default

Yhojann Aguilera report at bugs.python.org
Fri Jul 26 14:02:06 EDT 2019


Yhojann Aguilera <yhojann.aguilera at gmail.com> added the comment:

I hope that when an error occurs, python tells me what the problem is. The abort core error is a problem at a lower level than python because python is not able to recognize or handle the error.

The main problem is that I exceeded the maximum number of process threads supported by the kernel.

What I hope is that python throws an exception when it exceeds this limit or when it cannot access the pointer in memory of the process thread.

The problem is not if the script is right or wrong, but that Python is not able to recognize and handle the problem. A generic message saying that an error occurred without indicating where and how it occurred is a python bug.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue18748>
_______________________________________


More information about the Python-bugs-list mailing list