[issue13170] distutils2 test failures
Éric Araujo
report at bugs.python.org
Mon Oct 31 18:29:46 CET 2011
Éric Araujo <merwok at netwok.org> added the comment:
> When I do "import shutil" inside _backport/shutil.py
You shouldn’t do that! Our backported module is fully stand-alone.
I have fixed the bug with this change in install_data.py:
-from shutil import Error
+from distutils2._backport.shutil import Error
I think I’m going to update our whole codebase to only use the backported shutil, never the stdlib one, for clarity (i.e. to avoid similar bugs in the future).
----------
assignee: tarek -> eric.araujo
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13170>
_______________________________________
More information about the Python-bugs-list
mailing list