Message230185
It may be pretty hard to come up with a good example for closing in the stdlib that shouldn't just be turned into a context manager…
There are some types where using it in a with statement is sensible, but unusual enough that you might want to make it explicit (maybe logging.Handler?), but does that make a good example? |
|
Date |
User |
Action |
Args |
2014-10-28 23:02:16 | abarnert | set | recipients:
+ abarnert, mjpieters, docs@python |
2014-10-28 23:02:16 | abarnert | set | messageid: <1414537336.35.0.681459274445.issue22755@psf.upfronthosting.co.za> |
2014-10-28 23:02:16 | abarnert | link | issue22755 messages |
2014-10-28 23:02:16 | abarnert | create | |
|