Skip to content

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

Closed as not planned

Description

@AidanWoolley
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']

Activity

  1. AidanWoolley commented on Apr 7, 2022

    AidanWoolleymannequin
    MannequinAuthor

    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

  2. added
    docsDocumentation in the Doc dir
    type-featureA feature request or enhancement
    on Apr 7, 2022
  3. ericvsmith commented on Apr 7, 2022

    @ericvsmith
    Member

    I think this is a duplicate of bpo-46782.

  4. transferred this issue fromon Apr 10, 2022
  5. slateny commented on Sep 9, 2022

    @slateny
    Contributor

    Agreed, looks like a duplicate so will close in favour of that one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.10 (EOL)end of life3.11only security fixesdocsDocumentation in the Doc dirtopic-pathlibtype-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions