<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 9, 2015 at 12:51 AM, Greg Ewing <span dir="ltr"><<a href="mailto:greg.ewing@canterbury.ac.nz" target="_blank">greg.ewing@canterbury.ac.nz</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div id=":1dy" class="" style="overflow:hidden">Are you sure you were actually unlinking the old file<br>
and creating a new one, rather than overwriting the<br>
existing file? The latter would certainly cause trouble<br>
if you were able to do it.<div class=""><div id=":1ew" class="" tabindex="0"><img class="" src="//ssl.gstatic.com/ui/v1/icons/mail/images/cleardot.gif"></div></div></div></blockquote></div><br><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">​I had two instances of this ​problem:<br><ul><li>pip upgrading (pip removes old version first) some package with C extensions while processes using that still runs</li><li>removing (yes, rm -rf, not inplace) and recreating a virtualenv while processes using that still runs</li></ul><p>It's wrong to think "should be safe on linux". Linux lets you do very stupid things. But that don't make them right or feasible to do in the general case.<br></p><p>You can do it, sure, but the utility and safety are limited and very specific in scope. You gotta applaud Windows for getting this right.<br></p></div><br><br clear="all"><div><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div><span style="font-family:trebuchet ms,sans-serif"><span style="color:rgb(51,51,51)"><br><font size="2"><span style="color:rgb(51,51,51)">Thanks,</span><br><span style="color:rgb(153,153,153)">-- Ionel</span></font></span><font size="2"><font style="color:rgb(153,153,153)"> Cristian Mărieș, <a href="http://blog.ionelmc.ro" target="_blank">http://blog.ionelmc.ro</a><br></font></font></span></div></div></div></div></div></div></div>
</div></div>