[Distutils] Installing packages using pip

Paul Moore p.f.moore at gmail.com
Mon Nov 16 10:39:35 EST 2015


On 16 November 2015 at 15:04, Wayne Werner <waynejwerner at gmail.com> wrote:
> I suspect it makes life simple (which is better than complex). My personal
> assumption about DLL loading would be that it would follow the same pattern
> as Python importing modules - it's loaded once from disk at the first time
> it's imported, and it never goes back "to disk" for the orignal DLL.

On Windows, DLL loads map the DLL into the code space of the process.
Which is why you don't want to change it. (Without some sort of copy
on write, which has its own consequences).

Basically, it's a trade-off that's handled differently between the two
operating systems. We can argue forever over which is "best" without
reaching any useful conclusion. And we're way off topic anyway, so
let's leave it there :-)

Paul


More information about the Distutils-SIG mailing list