[issue7232] Support of 'with' statement fo TarFile class
Lars Gustäbel
report at bugs.python.org
Sun Feb 28 10:02:17 CET 2010
Lars Gustäbel <lars at gustaebel.de> added the comment:
Another version of the patch (issue7232.6.diff) that checks if the TarFile object is still open in the __enter__() method (plus a test for that). I removed the docstrings as Eric suggested. This is common practice in the standard library.
----------
Added file: http://bugs.python.org/file16396/issue7232.6.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7232>
_______________________________________
More information about the Python-bugs-list
mailing list