[issue14662] shutil.move broken in 2.7.3 on OSX (chflags fails)

Ned Deily report at bugs.python.org
Thu Apr 26 21:34:54 CEST 2012


Ned Deily <nad at acm.org> added the comment:

Thanks for the analysis.  Yes, it looks like there's a difference between OS X and current FreeBSDs, for example.  chflags(2) on the latter is documented as returning EOPNOTSUPP and on the former ENOTSUP. shutil should check for both.  A quick search of the source tree did not find any other users of chflags in the standard library. As far as adding other missing errnos, that could be handled as a separate issue as it more of an enhancement.  Anyone interested in contributing a patch for either or both?

https://developer.apple.com/library/mac/#documentation/darwin/reference/manpages/man2/chflags.2.html

http://www.freebsd.org/cgi/man.cgi?query=chflags&apropos=0&sektion=2&manpath=FreeBSD+9.0-RELEASE&arch=default&format=html

----------
nosy: +ned.deily
stage:  -> needs patch
versions: +Python 3.2, Python 3.3

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


More information about the Python-bugs-list mailing list