summaryrefslogtreecommitdiffstats
path: root/Python/pathconfig.c
diff options
context:
space:
mode:
authorCody Maloney <cmaloney@users.noreply.github.com>2024-09-18 15:47:57 (GMT)
committerGitHub <noreply@github.com>2024-09-18 15:47:57 (GMT)
commit8b6c7c7877c26f0201f37f69d4db2f35d7abd760 (patch)
tree5b147443becd83f34e147460c686e899034c0f8e /Python/pathconfig.c
parent96f619faa74a8a32c2c297833cdeb0393c0b6b13 (diff)
downloadcpython-8b6c7c7877c26f0201f37f69d4db2f35d7abd760.zip
cpython-8b6c7c7877c26f0201f37f69d4db2f35d7abd760.tar.gz
cpython-8b6c7c7877c26f0201f37f69d4db2f35d7abd760.tar.bz2
gh-120754: Refactor I/O modules to stash whole stat result rather than individual members (#123412)
Multiple places in the I/O stack optimize common cases by using the information from stat. Currently individual members are extracted from the stat and stored into the fileio struct. Refactor the code to store the whole stat struct instead. Parallels the changes to _io. The `stat` Python object doesn't allow changing members, so rather than modifying estimated_size, just clear the value.
Diffstat (limited to 'Python/pathconfig.c')
0 files changed, 0 insertions, 0 deletions