Éric Araujo <[email protected]> added the comment: An IOError is raised but file_util._copy_file_contents only produces the helpful message “could not create '<file>': <error>” when catching os.error.
Catching both classes is easy. We’d need a regression test first, and before that, agreement from Tarek that such a change would be okay. I wonder what is this mysterious None that we get as a result. ---------- _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue7219> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
