Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Default arguments for access 'mode' parameters in pathlib and os should display as octal literals #91403

Open
AidanWoolley mannequin opened this issue Apr 7, 2022 · 2 comments
Labels
3.10 3.11 docs type-feature

Comments

@AidanWoolley
Copy link

@AidanWoolley AidanWoolley mannequin commented Apr 7, 2022

BPO 47247
Nosy @ericvsmith

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 = None
closed_at = None
created_at = <Date 2022-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 = <Date 2022-04-07.14:25:35.295>
user = 'https://bugs.python.org/AidanWoolley'

bugs.python.org fields:

activity = <Date 2022-04-07.14:25:35.295>
actor = 'eric.smith'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2022-04-07.09:52:37.163>
creator = 'AidanWoolley'
dependencies = []
files = []
hgrepos = []
issue_num = 47247
keywords = []
message_count = 2.0
messages = ['416921', '416929']
nosy_count = 3.0
nosy_names = ['eric.smith', 'docs@python', 'AidanWoolley']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue47247'
versions = ['Python 3.10', 'Python 3.11']

@AidanWoolley
Copy link
Author

@AidanWoolley AidanWoolley mannequin commented 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

@AidanWoolley AidanWoolley mannequin added 3.10 3.11 labels Apr 7, 2022
@AidanWoolley AidanWoolley mannequin assigned docspython Apr 7, 2022
@AidanWoolley AidanWoolley mannequin added docs type-feature labels Apr 7, 2022
@ericvsmith
Copy link

@ericvsmith ericvsmith commented Apr 7, 2022

I think this is a duplicate of bpo-46782.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.10 3.11 docs type-feature
Projects
None yet
Development

No branches or pull requests

1 participant