[issue8876] distutils should not assume that hardlinks will work

Éric Araujo report at bugs.python.org
Mon Jul 2 22:37:24 CEST 2012


Éric Araujo <merwok at netwok.org> added the comment:

AFAICT using hard links only serves to save up a little time and disk space; it seems to me that always copying would solve one or two bugs at a small cost (not so small for large projects, I don’t know).  Could this impact setup scripts?  Maybe if os.link were monkey-patched and expected to be called.  I could ask on distutils-sig.

In #15205 Ollie noted this: “distutils2 appears to always copy instead of hardlinking resolving all of these issues”.  That would be because d2 uses shutil.copytree and distutils.util.copy_file (yes, a function from distutils1 because of some Windows issue :().

----------
assignee: tarek -> eric.araujo
nosy: +lemburg, olliewalsh, pitrou
stage:  -> needs patch
versions: +Python 3.3 -Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8876>
_______________________________________


More information about the Python-bugs-list mailing list