summaryrefslogtreecommitdiffstats
path: root/Python/pystrhex.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2024-03-08 17:49:09 (GMT)
committerGitHub <noreply@github.com>2024-03-08 17:49:09 (GMT)
commit61831585b637eb621bc80ae39e2e59541c135dc5 (patch)
tree5f0dec65569062951a2d481f32d86301e0069f87 /Python/pystrhex.c
parentcca30230d992c46dfb607dcc24b3dc2e6d05f536 (diff)
downloadcpython-61831585b637eb621bc80ae39e2e59541c135dc5.zip
cpython-61831585b637eb621bc80ae39e2e59541c135dc5.tar.gz
cpython-61831585b637eb621bc80ae39e2e59541c135dc5.tar.bz2
Replace stat.ST_xxx usage with os.stat().st_xxx (#116501)
Modernize code to use the new API which avoids the usage of the stat module just to read os.stat() members. * Sort logging.handlers imports. * Rework reopenIfNeeded() code to make it easier to follow. * Replace "not self.stream" with "self.stream is None".
Diffstat (limited to 'Python/pystrhex.c')
0 files changed, 0 insertions, 0 deletions