Yury Selivanov <yseliva...@gmail.com> added the comment: There's also a precedent of us breaking socket API. In Python < 3.6:
sock = socket.socket() fd = sock.fileno() os.close(fd) sock.close() Everything works fine. In 3.6+: sock.close() # Will raise OSError uvloop broke on this during the beta period and I fixed the issue quickly. I don't remember seeing any complaints about this, so I suspect that this issue wasn't a big deal, people just fixed their code. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue32331> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com