This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zbysz
Recipients SilentGhost, eric.araujo, grobian, haubi, sandro.tosi, tarek, zbysz
Date 2011-12-29.20:39:47
SpamBayes Score 4.8321663e-06
Marked as misclassified No
Message-id <1325191188.23.0.942507595212.issue7719@psf.upfronthosting.co.za>
In-reply-to
Content
Review of both patches (python-2.5.1-distutils-aixnfs.patch and dir_util.py.diff) as they are essentially the same:

I think that the test is in wrong place: we would want to ignore those .nfs* files always, not just when checking for symlinks. A separate test
at the top of the loop would be better:
    for n in names:
+       if n.startswith('.nfs'):
+           continue
        src_name = os.path.join(src, n)
        dst_name = os.path.join(dst, n)
        if preserve_symlinks and os.path.islink(src_name):


BTW: under linux 2.6.20 I see files like: .nfs000000000592413900000036, always of this length, with hexadecimal digits after .nfs).
History
Date User Action Args
2011-12-29 20:39:48zbyszsetrecipients: + zbysz, tarek, eric.araujo, haubi, SilentGhost, grobian, sandro.tosi
2011-12-29 20:39:48zbyszsetmessageid: <1325191188.23.0.942507595212.issue7719@psf.upfronthosting.co.za>
2011-12-29 20:39:47zbyszlinkissue7719 messages
2011-12-29 20:39:47zbyszcreate