Skip to content

[pull] main from python:main#280

Merged
pull[bot] merged 3 commits into
tj-python:mainfrom
python:main
Sep 24, 2025
Merged

[pull] main from python:main#280
pull[bot] merged 3 commits into
tj-python:mainfrom
python:main

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Sep 24, 2025

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

barneygale and others added 3 commits September 24, 2025 01:52
Merge `_WindowsPathInfo` and `_PosixPathInfo` classes into a new
`_StatResultInfo` class. On Windows, this means relying on `os.stat()`
rather than `os.path.isfile()` and friends, which is a little slower. But
there's value in making the code easier to maintain, and we're going to
need the stat result for implementing `size()`, `mode()` etc.

Also move the classes from `pathlib._os` to `pathlib` proper.
@pull pull Bot locked and limited conversation to collaborators Sep 24, 2025
@pull pull Bot added the ⤵️ pull label Sep 24, 2025
@pull pull Bot merged commit c4f21d7 into tj-python:main Sep 24, 2025
11 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants