Yury Selivanov <yseliva...@gmail.com> added the comment: > Note that a guard on socket objects can only solve part of the problem: in > the case where i've seen this bug, it was with raw file descriptors from > libcurl, and there's nothing python can do about that because there are no > (python) socket objects.
Well, in this case 'dup' is the only option. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32038> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com