mirror of
https://github.com/B16f00t/whapa.git
synced 2026-04-25 02:45:59 +03:00
[PR #242] [MERGED] Replace distutils.dir_utils.mkpath with pathlib.Path.mkdir(parents=True) #242
Labels
No labels
enhancement
help wanted
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/whapa#242
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/B16f00t/whapa/pull/242
Author: @orogenic
Created: 7/14/2025
Status: ✅ Merged
Merged: 7/15/2025
Merged by: @B16f00t
Base:
master← Head:replace-distutils-with-pathlib📝 Commits (1)
a4e8436Replace distutils.dir_utils.mkpath with pathlib.Path.mkdir(parents=True)📊 Changes
1 file changed (+13 additions, -13 deletions)
View changed files
📝
libs/whapa.py(+13 -13)📄 Description
pathlib was added in Python 3.4: https://docs.python.org/3.4/library/pathlib.html#pathlib.Path.mkdir
distutils was removed in Python 3.12: https://docs.python.org/3.12/library/distutils.html
pathlib.Path.mkdir(parents=True) is a suitable replacement for distutils.dir_util.mkpath():
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.