mirror of
https://github.com/python/cpython.git
synced 2026-06-26 21:04:42 -04:00
61831585b6
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".