GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError by slateny · Pull Request #31548 · python/cpython

Conversation

@slateny

@slateny slateny commented Feb 24, 2022 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Used the 'parent directory' wording to mirror mkdir's -p flag in bash, though os.makedirs() says ...intermediate-level directories..., so another option's to say

If an intermediate-level directory in the path ...

However, both 'intermediate' and 'parent' are used throughout the document so not too certain which one's preferred here.

https://bugs.python.org/issue30677

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@slateny
Update os.rst
1e912d2
@bedevere-bot bedevere-bot added the awaiting review label Feb 24, 2022
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Feb 24, 2022
@bedevere-bot bedevere-bot added the docs Documentation in the Doc dir label Feb 24, 2022
@AlexWaygood AlexWaygood added the skip news label Feb 24, 2022
@slateny slateny changed the title bpo-30677: Noted FileNotFoundError in os library for mkdir bpo-30677: Note FileNotFoundError in os library for mkdir Mar 4, 2022
iritkatriel
iritkatriel reviewed Mar 8, 2022
View reviewed changes
Comment thread Doc/library/os.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@iritkatriel
doesn't --> does not
a8ce63c
iritkatriel
iritkatriel approved these changes Mar 8, 2022
View reviewed changes
@bedevere-bot bedevere-bot added awaiting merge and removed awaiting review labels Mar 8, 2022
@iritkatriel iritkatriel added needs backport to 3.9 labels Mar 8, 2022
raghavthind2005
raghavthind2005 approved these changes Mar 14, 2022
View reviewed changes
@iritkatriel iritkatriel changed the title bpo-30677: Note FileNotFoundError in os library for mkdir bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError Mar 14, 2022
@iritkatriel
iritkatriel merged commit 879fbd9 into python:main Mar 14, 2022
@bedevere-bot bedevere-bot removed the awaiting merge label Mar 14, 2022
@miss-islington

miss-islington commented Mar 14, 2022

Copy link
Copy Markdown
Contributor

Thanks @slateny for the PR, and @iritkatriel for merging it 🌮🎉.. I'm working now to backport this PR to: 3.9, 3.10.
🐍🍒⛏🤖

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 label Mar 14, 2022
@bedevere-bot

bedevere-bot commented Mar 14, 2022

Copy link
Copy Markdown

GH-31877 is a backport of this pull request to the 3.10 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 14, 2022
@slateny @miss-islington
bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (p…
afa9e1f
…ythonGH-31548)

(cherry picked from commit 879fbd9)

Co-authored-by: slateny <[email protected]>
@bedevere-bot

bedevere-bot commented Mar 14, 2022

Copy link
Copy Markdown

GH-31878 is a backport of this pull request to the 3.9 branch.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot removed the needs backport to 3.9 label Mar 14, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Mar 14, 2022
@slateny @miss-islington
bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (p…
0710edb
…ythonGH-31548)

(cherry picked from commit 879fbd9)

Co-authored-by: slateny <[email protected]>
miss-islington added a commit that referenced this pull request Mar 14, 2022
@miss-islington
[3.10] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoun…
efa7250
…dError (GH-31548) (GH-31877)

(cherry picked from commit 879fbd9)


Co-authored-by: slateny <[email protected]>

Automerge-Triggered-By: GH:iritkatriel
miss-islington added a commit that referenced this pull request Mar 14, 2022
@miss-islington
[3.9] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFound…
b4fd91b
…Error (GH-31548) (GH-31878)

(cherry picked from commit 879fbd9)


Co-authored-by: slateny <[email protected]>

Automerge-Triggered-By: GH:iritkatriel
@slateny
slateny deleted the s/os branch March 14, 2022 21:23
carljm pushed a commit to carljm/cpython that referenced this pull request Mar 14, 2022
Carl Meyer
Merge branch 'main' into dictwatch
d22463b
* main: (94 commits)
  Revert "bpo-46986: Upgrade bundled setuptools to 60.9.3 (pythonGH-31820)" (pythonGH-31879)
  bpo-30677: [doc] mention that os.mkdir() can raise FileNotFoundError (pythonGH-31548)
  git ignore Lib/site-packages (pythonGH-31862)
  bpo-31415: importtime was made by Inada Naoki (pythonGH-31875)
  bpo-46920: Remove code that has explainers why it was disabled (pythonGH-31813)
  bpo-46920: Remove disabled debug code added decades ago and likely unnecessary (pythonGH-31812)
  bpo-46920: Remove code that has no explainer why it was disabled (pythonGH-31814)
  bpo-46906: Mention native endian in PyFloat_Pack8() doc (pythonGH-31866)
  bpo-40280: select: Use NULL for empty fdset (pythonGH-31865)
  CI: Fix patchcheck (pythonGH-31708)
  bpo-46987: Remove _PySys_GetObjectId / _PySys_GetObjectId (pythonGH-31835)
  bpo-46994: Accept explicit contextvars.Context in asyncio create_task() API (pythonGH-31837)
  bpo-39829: Fix `__len__()` is called twice in list() constructor (pythonGH-31816)
  bpo-47003: Cleanup _overlapped module (pythonGH-31848)
  bpo-47004: Sync with importlib_metadata 4.11.3. (python#31854)
  bpo-46986: Upgrade bundled setuptools to 60.9.3 (pythonGH-31820)
  bpo-46985: Upgrade bundled pip to 22.0.4 (pythonGH-31819)
  bpo-46805: Add low level UDP socket functions to asyncio (pythonGH-31455)
  bpo-46995: Deprecate missing asyncio.Task.set_name() for third-party task implementations (pythonGH-31838)
  bpo-43215: Document Happy Eyeballs args of asyncio.open_connection (pythonGH-24525)
  ...
hello-adam pushed a commit to hello-adam/cpython that referenced this pull request Jun 2, 2022
@miss-islington @hello-adam
[3.9] bpo-30677: [doc] mention that os.mkdir() can raise FileNotFound…
572aef2
…Error (pythonGH-31548) (pythonGH-31878)

(cherry picked from commit 879fbd9)


Co-authored-by: slateny <[email protected]>

Automerge-Triggered-By: GH:iritkatriel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@iritkatriel iritkatriel iritkatriel approved these changes
+1 more reviewer
@raghavthind2005 raghavthind2005 raghavthind2005 approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

docs Documentation in the Doc dir skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@slateny @miss-islington @bedevere-bot @iritkatriel @raghavthind2005 @the-knights-who-say-ni @AlexWaygood
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.