[issue7232] Support of 'with' statement fo TarFile class

Meador Inge report at bugs.python.org
Thu Feb 25 05:06:33 CET 2010


Meador Inge <meadori at gmail.com> added the comment:

Built on Brian's patch by adding the following items:

   * Added a unit test case to cover exceptional conditions.
   * Added doc strings on __enter__ and __exit__ (more consistent
     with the surrounding code).
   * Spelling error in doc update: s/manaager/manager/.
   * Link doc update to context manager type documentation (just in
     case the tarfile user is unfamiliar with context manager types).

----------
nosy: +minge
Added file: http://bugs.python.org/file16367/issue7232.2.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue7232>
_______________________________________


More information about the Python-bugs-list mailing list