[issue8746] os.chflags() and os.lchflags() are not built when they should be be

Garrett Cooper report at bugs.python.org
Thu Sep 16 08:59:02 CEST 2010


Garrett Cooper <yanegomi at gmail.com> added the comment:

*NOUNLINK was not implemented by OSX, so there's actually a bug with the compile tests if you take that into consideration. And again, only FreeBSD defines *NOUNLINK. The other BSDs, not so much.

As far as the reason why I implemented the flags, the documentation that I was looking at didn't implement those flags. I looked at the latest documentation and it appears to be correct though. I will implement tests for *UNLINK and *HIDDEN (FWIW the tests I wrote are ok for cross-compilation because they just test for the existence of the values -- they don't test to ensure that the functionality is correct, like some of the logic in configure was recently `fixed' to do).

----------

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


More information about the Python-bugs-list mailing list