Lars Gustäbel <l...@gustaebel.de> added the comment: I updated your patch:
- I removed the "import as" bit completely and changed all occurrences of _open() to builtins.open() which is more readable and explanatory. - I object to changing the error messages in the 3.2 branch due to backwards compatibility, although I left them in the patch for now. (I changed the style of %-formatting with a single item tuple in order to match the coding style of the rest of the module.) - I inlined the shutil.copyfileobj() method to remove the shutil import. ---------- Added file: http://bugs.python.org/file24601/tarfile-misc-bugs-3.2-2.diff _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14012> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com