FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

[3.11] GH-95815: Document less specific error for os.remove (GH-99571) by miss-islington · Pull Request #99641 · python/cpython · GitHub

/ cpython Public

[3.11] GH-95815: Document less specific error for os.remove (GH-99571) - #99641

Merged
ronaldoussoren merged 1 commit into
python:3.11from
miss-islington:backport-1cae31d-3.11
Nov 21, 2022
Merged

[3.11] GH-95815: Document less specific error for os.remove (GH-99571)#99641
ronaldoussoren merged 1 commit into
python:3.11from
miss-islington:backport-1cae31d-3.11

Conversation

miss-islington commented Nov 21, 2022
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

os.remove can raise PermissionError instead of IsADirectoryError,
when the object to be removed is a directory (in particular on
macOS).

This reverts a change done in GH-14262.
(cherry picked from commit 1cae31d)

Co-authored-by: Ronald Oussoren ronaldoussoren@mac.com

…99571)

os.remove can raise PermissionError instead of IsADirectoryError,
when the object to be removed is a directory (in particular on
macOS).

This reverts a change done in pythonGH-14262.
(cherry picked from commit 1cae31d)

Co-authored-by: Ronald Oussoren <ronaldoussoren@mac.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 skip news

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL