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

2011-07-26 Thread Roundup Robot
Roundup Robot added the comment: New changeset ca236138f0ce by Ned Deily in branch '2.7': Issue #8746: Use tempfile module to get tempdir and randomize the http://hg.python.org/cpython/rev/ca236138f0ce New changeset 4e4554aa1453 by Ned Deily in branch '3.2': Issue #8746: Use tempfile module to

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

2011-07-26 Thread Ned Deily
Changes by Ned Deily : -- nosy: +eric.araujo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.

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

2011-06-28 Thread Ned Deily
Changes by Ned Deily : -- status: pending -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.

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

2011-06-28 Thread Ned Deily
Ned Deily added the comment: Thanks for the additional tests, Garrett. I've applied them (modulo a fix). I've also applied the corrections to configure which should make os.chflags() and os.lchflags() reappear again in BSD and OS X builds where supported. I've also added and documented two

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

2011-06-28 Thread Roundup Robot
Roundup Robot added the comment: New changeset abfe28e7e5cd by Ned Deily in branch '2.7': Issue #8746: Correct faulty configure checks so that os.chflags() and http://hg.python.org/cpython/rev/abfe28e7e5cd New changeset 529e26aa4fa3 by Ned Deily in branch '3.2': Issue #8746: Correct faulty conf

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

2011-06-12 Thread Garrett Cooper
Garrett Cooper added the comment: I apologize for taking so long with this. The attached patch is for test_posix against trunk (I shuffled around some code and extended some things to improve PosixTester.tearDown). Let me know if I need to wash, rinse, repeat for py3k, etc. Thanks! # Standa

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

2011-06-12 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- versions: +Python 3.3 -Python 3.1 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2011-03-14 Thread Ronald Oussoren
Ronald Oussoren added the comment: Tests for the posix module should go in test_posix. The name 'posix' is used very loosely in python, it is basicly used as an alias for 'unixy'. I'm not too happy about replicating the definition of the flags, as Ned noted the flags are also defined in Lib/s

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

2011-01-17 Thread Garrett Cooper
Garrett Cooper added the comment: On Mon, Jan 17, 2011 at 5:11 PM, Ned Deily wrote: > > Ned Deily added the comment: > > There is an existing test_lchflags in Lib/test/test_posix.py.  Additional > test cases should go there. Ok, but again this isn't POSIX functionality -- it's a BSD function

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

2011-01-17 Thread Ned Deily
Ned Deily added the comment: There is an existing test_lchflags in Lib/test/test_posix.py. Additional test cases should go there. -- ___ Python tracker ___

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

2011-01-17 Thread Garrett Cooper
Garrett Cooper added the comment: Sorry -- got off-track for a while. I assume these should go into Lib/test/test_os.py ? -- ___ Python tracker ___ _

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

2011-01-15 Thread Georg Brandl
Changes by Georg Brandl : -- priority: deferred blocker -> critical ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

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

2011-01-06 Thread Ned Deily
Ned Deily added the comment: Ping - Garrett, any progress on updating the tests? With dispatch, this could still make it into 3.2. -- ___ Python tracker ___ ___

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

2010-11-12 Thread Georg Brandl
Georg Brandl added the comment: Same for a4. -- priority: release blocker -> deferred blocker ___ Python tracker ___ ___ Python-bugs-l

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

2010-10-12 Thread Georg Brandl
Changes by Georg Brandl : -- priority: deferred blocker -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

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

2010-10-10 Thread Georg Brandl
Georg Brandl added the comment: This can be solved after 3.2a3. -- assignee: -> ronaldoussoren nosy: +georg.brandl, ronaldoussoren priority: release blocker -> deferred blocker ___ Python tracker _

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

2010-09-15 Thread Garrett Cooper
Garrett Cooper 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 documenta

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

2010-09-12 Thread Ned Deily
Ned Deily added the comment: Nick: "lchflags". lchflags is only available in 10.5 or higher, unlike chflags which has been around for much longer. -- ___ Python tracker ___

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

2010-09-12 Thread Nick Dowell
Nick Dowell added the comment: Why should it only be available on OS X if built with MACOSX_DEPLOYMENT_TARGET of 10.5 or higher? chflags() should be available in earlier versions of the OS: http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/10.3/man2/chflags.2.html

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

2010-09-12 Thread Ned Deily
Ned Deily added the comment: Actually the flags do already exist: note "(as defined in the stat module)" (http://docs.python.org/py3k/library/os.html#os.chflags). Other than the new UF_HIDDEN, it looks like they are all hardwired there in Lib/stat.py. There is something to be said for the a

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

2010-09-11 Thread Garrett Cooper
Garrett Cooper added the comment: Do you prefer exhaustive tests, or just smoke tests? Honestly IMO, the OS should come prepackaged with tests to ensure that things function according to the requirements set forth in the manpage, so I would prefer the latter because the os methods in the posi

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

2010-09-11 Thread Garrett Cooper
Changes by Garrett Cooper : Added file: http://bugs.python.org/file18849/issue8746-py3k.patch ___ Python tracker ___ ___ Python-bugs-list maili

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

2010-09-11 Thread Garrett Cooper
Garrett Cooper added the comment: I'll add new tests in the next submit for the bug, but here's the code to add the relevant symbols for common to *BSD and OSX, and the Snow Leopard+ and FreeBSD specific chflags of importance for python 2.7 and py3k. -- Added file: http://bugs.python.

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

2010-09-10 Thread Ned Deily
Ned Deily added the comment: Additional tests would be great. It is probably reasonable to make some simplifying assumptions about which file systems the test directory would be run on. I'm guessing other similar file system function tests are not bulletproof on all potential file system ty

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

2010-09-10 Thread Garrett Cooper
Garrett Cooper added the comment: That definitely fixes detection for FreeBSD CURRENT with 2.7 and py3k for me. I'm looking into providing some unit-tests, but the problem is that whether or not chflags functions on the underlying filesystem is problematic. For instance, it won't function on

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

2010-09-10 Thread Ned Deily
Changes by Ned Deily : Removed file: http://bugs.python.org/file18738/8746-2.6.6.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-09-10 Thread Ned Deily
Changes by Ned Deily : Removed file: http://bugs.python.org/file18737/8746-2.7.patch ___ Python tracker ___ ___ Python-bugs-list mailing list U

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

2010-09-10 Thread Ned Deily
Changes by Ned Deily : Removed file: http://bugs.python.org/file18736/8746-3.1.2.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-09-10 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file18839/issue8746-27.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-09-10 Thread Ned Deily
Changes by Ned Deily : Added file: http://bugs.python.org/file18838/issue8746-31.patch ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2010-09-10 Thread Ned Deily
Ned Deily added the comment: Thanks Garrett for reporting the problem and thank Nick for the patches. It turns out the problem is more involved though the solution is similar. I've spent some time figuring out what went wrong here and documenting it in this issue so that no one else has to.