[issue10093] Warn when files are not explicitly closed
Antoine Pitrou
report at bugs.python.org
Fri Oct 29 02:29:43 CEST 2010
Antoine Pitrou <pitrou at free.fr> added the comment:
> If a new, unbound socket uses some form of OS resource, then a warning
> is needed. Is their an equivalent limitation like there is with file
> descriptors as to how many an OS can possibly have open at once?
A socket *is* a file descriptor (under Unix), so, yes, there is a limit.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10093>
_______________________________________
More information about the Python-bugs-list
mailing list