gh-99726: Adds os.statx function and associated constants by zooba · Pull Request #99755 · python/cpython · GitHub

github.com

Tin mới

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

Add fast path to os.[l]stat() that returns incomplete information #99726

: Adds os.statx function and associated constants

Fix POSIX build issues

Revert unrelated pyconfig.h.in changes

Revert generated files

Update pyconfig.h.in

awaiting core review

Check for STATX_MNT_ID

gh-99726: Add 'fast' argument to os.[l]stat for faster calculation #99727

Properly exclude statx

Add missing fields

View reviewed changes

More field initialization

More uninitialised fields

View reviewed changes

Switch to less-confusing conditional attributes. Other fixes

Make init config tests more reliable on Windows builds

Merge remote-tracking branch 'cpython/main' into

View reviewed changes

Merge remote-tracking branch 'cpython/main' into

Update DeviceType check and rest of stdlib

View reviewed changes

Learn more about hiding disruptive comments

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

Fix refleak and tests

Fix os.statx assumption

View reviewed changes

Documentation improvements

Missed one doc change

Nope, it was applied fine

Handle block devices better

Put statx in correct os sets, and include in pythoninfo