Steve Dower added the comment:
Distutils is now deprecated (see PEP 632) and all tagged issues are being
closed. From now until removal, only release blocking issues will be considered
for distutils.
If this issue does not relate to distutils, please remove the component and
reopen it. If
Christian Heimes added the comment:
This is not a security problem per se. It's rather a request to chance the
behavior of package installation.
--
type: security -> behavior
___
Python tracker
Christian Heimes added the comment:
Donald, what is your opinion on this issue?
--
assignee: tarek -> dstufft
nosy: +christian.heimes, dstufft
versions: +Python 3.6 -Python 2.7, Python 3.2
___
Python tracker
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
nosy: +eric.araujo
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue7412
___
___
Python-bugs-list
Rene Dudfield ill...@users.sourceforge.net added the comment:
Hi Tarek,
moving a package into place right at the end is the best thing to do I
think.
It solves a couple common problems:
- broken packages after an install is stopped half way for one of
many common reasons.
- old files
Tarek Ziadé ziade.ta...@gmail.com added the comment:
As you said, this race condition can happen even if you copy the file in
some temp dir, then move them to python. That would reduce the window,
but not remove it.
The best way to avoid it is to stop any running Python process when
updates
New submission from Rene Dudfield ill...@users.sourceforge.net:
hello!
Pythons distutils has a race condition where it starts to copy files
into the python path whilst installing.
This is a race condition, since python programs can be importing the
package whilst the package is being