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 ned.deily
Recipients grobian, hynek, ned.deily
Date 2012-04-26.19:34:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335468894.8.0.656486123381.issue14662@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2012-04-26 19:34:54ned.deilysetrecipients: + ned.deily, grobian, hynek
2012-04-26 19:34:54ned.deilysetmessageid: <1335468894.8.0.656486123381.issue14662@psf.upfronthosting.co.za>
2012-04-26 19:34:54ned.deilylinkissue14662 messages
2012-04-26 19:34:54ned.deilycreate