Skip to content

os.chmod(), os.chown() & os.listdir() weren't added in Python 3.3 #117977

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

Closed
nineteendo opened this issue Apr 17, 2024 · 0 comments
Closed

os.chmod(), os.chown() & os.listdir() weren't added in Python 3.3 #117977

nineteendo opened this issue Apr 17, 2024 · 0 comments
Labels
docs Documentation in the Doc dir easy

Comments

@nineteendo
Copy link
Contributor

nineteendo commented Apr 17, 2024

Documentation

The documentation of these functions states they were added in Python 3.3:

  • os.chmod()

    New in version 3.3: Added support for specifying path as an open file descriptor, and the dir_fd and follow_symlinks arguments.

  • os.chown

    New in version 3.3: Added support for specifying path as an open file descriptor, and the dir_fd and follow_symlinks arguments.

  • os.listdir

    New in version 3.3: Added support for specifying path as an open file descriptor.

That's clearly wrong, it should've been "Changed in version 3.3".

Linked PRs

@nineteendo nineteendo added the docs Documentation in the Doc dir label Apr 17, 2024
miss-islington pushed a commit to miss-islington/cpython that referenced this issue Apr 17, 2024
…own, and os.listdir (pythonGH-117978)

(cherry picked from commit fccedbd)

Co-authored-by: Nice Zombies <[email protected]>
erlend-aasland pushed a commit that referenced this issue Apr 17, 2024
…hown, and os.listdir (GH-117978) (#117992)

(cherry picked from commit fccedbd)

Co-authored-by: Nice Zombies <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir easy
Projects
None yet
Development

No branches or pull requests

2 participants