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 brian.curtin
Recipients brian.curtin, dbkoch, tarek, ysj.ray
Date 2010-11-20.05:18:15
SpamBayes Score 3.956889e-06
Marked as misclassified No
Message-id <1290230297.16.0.740384314211.issue8705@psf.upfronthosting.co.za>
In-reply-to
Content
This can't actually work. You can't delete a directory which has open handles to it on Windows, namely the Python process you're running in that directory.

The empty file path isn't really the issue here. shutil.rmtree(os.getcwd()) attempts the same thing but gives you a better error message since a full path gets sent down to os.rmdir rather than "".
History
Date User Action Args
2010-11-20 05:18:17brian.curtinsetrecipients: + brian.curtin, tarek, ysj.ray, dbkoch
2010-11-20 05:18:17brian.curtinsetmessageid: <1290230297.16.0.740384314211.issue8705@psf.upfronthosting.co.za>
2010-11-20 05:18:15brian.curtinlinkissue8705 messages
2010-11-20 05:18:15brian.curtincreate