You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Default arguments for access 'mode' parameters in pathlib and os should display as octal literals #91403
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=Nonecreated_at=<Date2022-04-07.09:52:37.163>labels= ['3.11', 'type-feature', '3.10', 'docs']
title="Default arguments for access 'mode' parameters in pathlib and os should display as octal literals"updated_at=<Date2022-04-07.14:25:35.295>user='https://bugs.python.org/AidanWoolley'
Activity
AidanWoolley commentedon Apr 7, 2022
E.g. 0o777 rather than 511
This is a regression since the docs for 3.9
Affected functions/methods:
pathlib.Path.mkdir
pathlib.Path.touch
os.open
os.mkdir
os.makedirs
os.mkfifo
os.mknod
ericvsmith commentedon Apr 7, 2022
I think this is a duplicate of bpo-46782.
slateny commentedon Sep 9, 2022
Agreed, looks like a duplicate so will close in favour of that one.