Éric Araujo <mer...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue13170> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com