<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">On Tue, Jun 28, 2016 at 3:10 PM Vasily <<a href="mailto:just.one.man@yandex.ru">just.one.man@yandex.ru</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><p dir="ltr">I think I can try to dig a monkey patch for shutil.rmtree that uses Unicode version of Win32 API which, when supplied with specially crafted path, can delete long names.</p>
<p dir="ltr">Is it interesting for the community?</p></blockquote><div> It would definitely be worthwhile to improve the handling of recursive deletes on windows. Just a couple of notes:<br><br></div><div>1) The code doesn't actually use shutil.rmtree on windows now.<br></div><div>2) I don't think it is reasonable to ask users to specially craft paths to use this (I'm not entirely sure what you mean by that though).<br></div></div></div><div dir="ltr">-- <br></div><div data-smartmail="gmail_signature"><div dir="ltr">Tom Prince<br>
<a href="mailto:tom.prince@hocat.ca" target="_blank">tom.prince@hocat.ca</a><br>
I am available for custom buildbot development and consulting</div></div>