SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 1 Python

GH-139174: Prepare `pathlib.Path.info` for new methods (part 2) (#140155)

Merge `_Info`, `_StatResultInfo` and `_DirEntryInfo` into a single `_Info`
class. No other changes.

This will allow us to use a cached `os.stat()` result from our upcoming
`_Info.stat()` method even when we have a backing `os.DirEntry`.
B
Barney Gale committed
1bfe86caaaaca3ec16351d69fa778f1212f1dd84
Parent: f4e51f2
Committed by GitHub <noreply@github.com> on 10/18/2025, 1:13:25 AM