Skip to content

bpo-37478: Add missing 'and'.#14631

Merged
terryjreedy merged 1 commit into
python:masterfrom
terryjreedy:chdir2
Jul 7, 2019
Merged

bpo-37478: Add missing 'and'.#14631
terryjreedy merged 1 commit into
python:masterfrom
terryjreedy:chdir2

Conversation

@terryjreedy
Copy link
Copy Markdown
Member

@terryjreedy terryjreedy commented Jul 7, 2019

@terryjreedy
Copy link
Copy Markdown
Member Author

Followup to #14611.

Copy link
Copy Markdown
Contributor

@aeros aeros left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@terryjreedy Is "and" appropriate in this case? Based on the discussion in the PR which added the exception description, it seemed like os.chdir() could not not directly raise OSError itself, only its subclasses.

@terryjreedy terryjreedy merged commit a9b40e4 into python:master Jul 7, 2019
@miss-islington
Copy link
Copy Markdown
Contributor

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot
Copy link
Copy Markdown

GH-14632 is a backport of this pull request to the 3.8 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 7, 2019
(cherry picked from commit a9b40e4)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link
Copy Markdown

GH-14633 is a backport of this pull request to the 3.7 branch.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jul 7, 2019
(cherry picked from commit a9b40e4)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull request Jul 7, 2019
(cherry picked from commit a9b40e4)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
miss-islington added a commit that referenced this pull request Jul 7, 2019
(cherry picked from commit a9b40e4)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@terryjreedy
Copy link
Copy Markdown
Member Author

Yes, Eryk's says it can raise OSError is a situation where none of the subclasses fits.

lisroach pushed a commit to lisroach/cpython that referenced this pull request Sep 10, 2019
DinoV pushed a commit to DinoV/cpython that referenced this pull request Jan 14, 2020
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.

5 participants