New submission from desbma: telnetlib.Telnet could have a context manager to call close() automatically.
I can provide a patch if the idea is approved, although I have never contributed to Python. ---------- components: Library (Lib) messages: 253489 nosy: desbma priority: normal severity: normal status: open title: Add a context manager to telnetlib.Telnet type: enhancement versions: Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25485> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com