View Single Post
Old 01-03-2016, 02:05 AM   #5
eschwartz
Ex-Helpdesk Junkie
eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.eschwartz ought to be getting tired of karma fortunes by now.
 
eschwartz's Avatar
 
Posts: 19,421
Karma: 85400180
Join Date: Nov 2012
Location: The Beaten Path, USA, Roundworld, This Side of Infinity
Device: Kindle Touch fw5.3.7 (Wifi only)
Quote:
Originally Posted by kovidgoyal View Post
@eschwartz: The presence of symlinks should not matter, since python's rmtree implementation does not call itself with symlinks as arguments. The only way it can happen is if os.lstat fails for a path. Then the rmtree() implementation just assumes the path is a directory. I dont know why rmtree was designed to ignore lstat failures.
Sorry presence of symlinks ==> is a symlink (if I read the docs right).
It is 2 AM here (was: midnight) -- this is probably a sign that I should go to sleep now...

@SilverBear -- not just you...
eschwartz is offline   Reply With Quote