Evan Dandrea <e...@ubuntu.com> added the comment: I haven't used addCleanup here, but have noted it for the future. In this case, using it would require adding another function to handle the reassignment, which I think is a bit more messy than the extra bit of indentation.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue11503> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com