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 dbkoch
Recipients dbkoch
Date 2010-05-13.16:57:22
SpamBayes Score 0.007891951
Marked as misclassified No
Message-id <1273769844.52.0.734161024788.issue8705@psf.upfronthosting.co.za>
In-reply-to
Content
The following sequence raises an exception, but nonetheless removes all files from the Desktop under Windows Vista.

import os, shutil, user

desktop_dir = os.path.join(user.home, 'Desktop')
os.chdir(desktop_dir)

shutil.rmtree('')

This does not occur under Fedora 12. Not tested on Mac OS X yet.
History
Date User Action Args
2010-05-13 16:57:24dbkochsetrecipients: + dbkoch
2010-05-13 16:57:24dbkochsetmessageid: <1273769844.52.0.734161024788.issue8705@psf.upfronthosting.co.za>
2010-05-13 16:57:23dbkochlinkissue8705 messages
2010-05-13 16:57:22dbkochcreate