On Wed, Dec 9, 2015 at 12:51 AM, Greg Ewing <greg.ew...@canterbury.ac.nz> wrote:
> Are you sure you were actually unlinking the old file > and creating a new one, rather than overwriting the > existing file? The latter would certainly cause trouble > if you were able to do it. > I had two instances of this problem: - pip upgrading (pip removes old version first) some package with C extensions while processes using that still runs - removing (yes, rm -rf, not inplace) and recreating a virtualenv while processes using that still runs 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. 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. Thanks, -- Ionel Cristian Mărieș, http://blog.ionelmc.ro
_______________________________________________ Distutils-SIG maillist - Distutils-SIG@python.org https://mail.python.org/mailman/listinfo/distutils-sig