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 ocean-city
Recipients ocean-city
Date 2008-09-21.20:12:03
SpamBayes Score 1.7891945e-07
Marked as misclassified No
Message-id <1222027988.35.0.687868329699.issue3925@psf.upfronthosting.co.za>
In-reply-to
Content
Currently msvc build ignores shutil.rmtree error, this workaround is
needed for cygwin too.

======================================================================
ERROR: test_build_ext (distutils.tests.test_build_ext.BuildExtTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File
"/home/WhiteRabbit/python-dev/trunk/Lib/distutils/tests/test_build_ext.py
", line 66, in tearDown
    shutil.rmtree(self.tmp_dir, False if os.name != "nt" else True)
  File "/home/WhiteRabbit/python-dev/trunk/Lib/shutil.py", line 221, in
rmtree
    onerror(os.remove, fullname, sys.exc_info())
  File "/home/WhiteRabbit/python-dev/trunk/Lib/shutil.py", line 219, in
rmtree
    os.remove(fullname)
OSError: [Errno 13] Permission denied:
'/cygdrive/c/DOCUME~1/WHITER~1/LOCALS~1/T
emp/pythontest_YRSZAn/xx.dll'
History
Date User Action Args
2008-09-21 20:13:08ocean-citysetrecipients: + ocean-city
2008-09-21 20:13:08ocean-citysetmessageid: <1222027988.35.0.687868329699.issue3925@psf.upfronthosting.co.za>
2008-09-21 20:12:04ocean-citylinkissue3925 messages
2008-09-21 20:12:04ocean-citycreate