[issue13170] distutils2 test failures

Éric Araujo report at bugs.python.org
Fri Oct 28 17:18:33 CEST 2011


Éric Araujo <merwok at netwok.org> added the comment:

> The remaining test (test_command_install_data.InstallDataTestCase.test_simple_run) was
> broken in r1152.
This looks like a local revision number, which has no meaning outside of one specific repository.  What is the changeset identifier?  (see http://hgbook.red-bean.com/read/a-tour-of-mercurial-the-basics.html#id345536)

Thanks for the diagnosis!  Code calling functions from the backported shutil should obviously catch exceptions from the backported shutil.  I’ll review all modules using the backport.

FYI, some distutils2 modules use shutil from the stdlib, for functions that are already here in 2.4; not sure if that is good or bad.

> Ideally, I think distutils2/_backport/shutil.py should do "from shutil import Error"
> instead of defining its own Error class
Oh, no, our backported module is strictly independent from the stdlib one.

> importing shutil from the stdlib is broken in that file besides.
I don’t understand this.

----------

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


More information about the Python-bugs-list mailing list