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.
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 directory i see this “false” fail. Sent from my iPhone > On 17 Aug 2018, at 23:19, Terry J. Reedy <report@bugs.python.org> wrote: > > > Terry J. Reedy <tjreedy@udel.edu> 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 <report@bugs.python.org> > <https://bugs.python.org/issue34382> > _______________________________________ >
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.