R. David Murray added the comment: Hah. I predicted this thing was going to attract bug reports :)
The behavior you observe is how context managers in general and this one in particular work. I'll let Nick explain it, since he wrote it. Maybe there is an doc improvement that would help. ---------- nosy: +r.david.murray _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue25322> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com