Christian Heimes <li...@cheimes.de> added the comment:
Yes, that's it. In Python 2.7, socket classes don't implement the context manager protocol. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue34818> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com