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".
V
Victor Stinner committed
61831585b637eb621bc80ae39e2e59541c135dc5
Parent: cca3023
Committed by GitHub <noreply@github.com>
on 3/8/2024, 5:49:09 PM