Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Merge branch 'main' into tempfile-used-dir
  • Loading branch information
serhiy-storchaka committed Dec 7, 2023
commit b1928324a0a64290869724004e663be68b15bf1b
7 changes: 0 additions & 7 deletions Lib/tempfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -897,13 +897,6 @@ def onexc(func, path, exc):
return
raise

def resetperms(path):
try:
_os.chflags(path, 0)
except AttributeError:
pass
_os.chmod(path, 0o700)

try:
if path != name:
_resetperms(_os.path.dirname(path))
Expand Down
You are viewing a condensed version of this merge commit. You can view the full changes here.