Andrew Svetlov <andrew.svet...@gmail.com> added the comment:
It's not about streams only. The stream protocol can have such flag, sure. But transport emits a warning like "unclosed transport ..." Not sure if we have to drop this warning, it enforces writing good code that controls all created resources lifecycle. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36709> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com