This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eric.araujo
Recipients alexis, eric.araujo, mu_mind, python-dev, tarek
Date 2011-10-31.17:29:45
SpamBayes Score 0.00022963932
Marked as misclassified No
Message-id <1320082186.44.0.993704439323.issue13170@psf.upfronthosting.co.za>
In-reply-to
Content
> 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).
History
Date User Action Args
2011-10-31 17:29:46eric.araujosetrecipients: + eric.araujo, tarek, alexis, mu_mind, python-dev
2011-10-31 17:29:46eric.araujosetmessageid: <1320082186.44.0.993704439323.issue13170@psf.upfronthosting.co.za>
2011-10-31 17:29:45eric.araujolinkissue13170 messages
2011-10-31 17:29:45eric.araujocreate