[issue7219] Unhelpful error message when a distutils package install fails due to a permissions error
Éric Araujo
report at bugs.python.org
Sat Aug 14 07:36:35 CEST 2010
Éric Araujo <merwok at netwok.org> 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 <report at bugs.python.org>
<http://bugs.python.org/issue7219>
_______________________________________
More information about the Python-bugs-list
mailing list