[New-bugs-announce] [issue47247] Default arguments for access 'mode' parameters in pathlib and os should display as octal literals

Aidan Woolley report at bugs.python.org
Thu Apr 7 05:52:37 EDT 2022


New submission from Aidan Woolley <awoolley10 at gmail.com>:

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

----------
assignee: docs at python
components: Documentation
messages: 416921
nosy: AidanWoolley, docs at python
priority: normal
severity: normal
status: open
title: Default arguments for access 'mode' parameters in pathlib and os should display as octal literals
type: enhancement
versions: Python 3.10, Python 3.11

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47247>
_______________________________________


More information about the New-bugs-announce mailing list