On 12 January 2017 at 14:12, Glyph Lefkowitz <gl...@twistedmatrix.com> wrote:
> It's possible for Pip to notice that it wants to replace a particular file;
> you can "unlock" it by moving it aside.
>
> https://serverfault.com/a/503769

Very interesting, especially as the way CPython loads extension
modules means that the renaming trick should be safe (even if you
"reload" an extension module, or delete it from sys.modules and import
it again, CPython doesn't reload the underlying DLL).

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Distutils-SIG maillist  -  Distutils-SIG@python.org
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to