Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError
authorGregory P. Smith <greg@krypto.org>
Sun, 3 Jun 2012 21:30:44 +0000 (14:30 -0700)
committerGregory P. Smith <greg@krypto.org>
Sun, 3 Jun 2012 21:30:44 +0000 (14:30 -0700)
commita81c8564365d4485bcf1d413b92fb275c091831d
tree31f166723bf72d1cd61a1bba318a82f5472e1a65
parent9f44a66abc476a6aa57238c005253242b45f827e
Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSError
when the path existed and had the S_ISGID mode bit set when it was not
explicitly asked for.  This is no longer an exception as mkdir cannot control
if the OS sets that bit for it or not.
Lib/os.py
Lib/test/test_os.py
Misc/NEWS