[issue47247] Default arguments for access 'mode' parameters in pathlib and os should display as octal literals
New submission from Aidan Woolley <awoolley10@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@python components: Documentation messages: 416921 nosy: AidanWoolley, docs@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@bugs.python.org> <https://bugs.python.org/issue47247> _______________________________________
Eric V. Smith <eric@trueblade.com> added the comment: I think this is a duplicate of #46782. ---------- nosy: +eric.smith _______________________________________ Python tracker <report@bugs.python.org> <https://bugs.python.org/issue47247> _______________________________________
participants (2)
-
Aidan Woolley
-
Eric V. Smith