Message263031
Telnet instances should support the context manager protocol so they can be used in with statements.
>>> import telnetlib
>>> with telnetlib.Telnet('192.168.86.7') as tn:
... pass
...
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
AttributeError: __exit__ |
|
Date |
User |
Action |
Args |
2016-04-08 17:44:51 | gregory.p.smith | set | recipients:
+ gregory.p.smith |
2016-04-08 17:44:51 | gregory.p.smith | set | messageid: <1460137491.63.0.283583119898.issue26714@psf.upfronthosting.co.za> |
2016-04-08 17:44:51 | gregory.p.smith | link | issue26714 messages |
2016-04-08 17:44:51 | gregory.p.smith | create | |
|