[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-09-16 Thread Michael Felt
Michael Felt added the comment: Closing this, and my PR, as issue34664 is a repeat and already merged. -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-31 Thread Michael Felt
Michael Felt added the comment: For now, backport only means, imho to 3.7 and maybe 3.6. More could be merrier - but the goal is to clear the buildbots for regression testing. This one is quite simple - so adding 2.7 to the list of backports would be great. -- versions: +Python 2.7,

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-18 Thread Michael Felt
Michael Felt added the comment: Likewise, I have no idea who should review, or whether python2 should be included or not. The issue is not a bug in python, rather a shortcoming in the test suite. In short, since I do my builds in an environment where the mode includes SGID on the director

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Backport' might or might not mean 2.7. You should be able to explicitly select versions in the box above. I have no idea who should review this. -- nosy: +terry.reedy ___ Python tracker

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-11 Thread Michael Felt
Change by Michael Felt : -- keywords: +patch pull_requests: +8224 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue34382] test_os.test_mode fails when directory base directory has g+s set

2018-08-11 Thread Michael Felt
New submission from Michael Felt : test_mode assumes that the SGID bit is not set in the parent directory. If it is set the assertEqual() tests fail. This PR checks the mode of 'base' to see if the SGID bit is set, or not, and compares results accordingly. Back-porting requested. --