R. David Murray <rdmur...@bitdance.com> added the comment: I think in the echo examples the 'with conn' block should be indented and a 'with s:' added around it.
The network sniffer should probably use a with statement with the created socket. The CAN example ends only on ctrl-C, and could go into a fast spin loop on error, so it probably needs a more extensive rewrite. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue31739> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com