diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2024-03-03 07:59:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-03 07:59:10 (GMT) |
commit | 3f830adf58745723dba5b7fcf7cb39e4c0d0224b (patch) | |
tree | c7148b1343e5711b487abd36a51e412d312221d6 /Lib/sre_constants.py | |
parent | 5b73ed4b6620fa52becfbe225c8ff8064962895b (diff) | |
download | cpython-3f830adf58745723dba5b7fcf7cb39e4c0d0224b.zip cpython-3f830adf58745723dba5b7fcf7cb39e4c0d0224b.tar.gz cpython-3f830adf58745723dba5b7fcf7cb39e4c0d0224b.tar.bz2 |
[3.12] gh-115809: Improve TimedRotatingFileHandler.getFilesToDelete() (GH-115812) (GH-116261)
Improve algorithm for computing which rolled-over log files to delete
in logging.TimedRotatingFileHandler. It is now reliable for handlers
without namer and with arbitrary deterministic namer that leaves
the datetime part in the file name unmodified.
(cherry picked from commit 87faec28c78f6fa8eaaebbd1ababf687c7508e71)
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Diffstat (limited to 'Lib/sre_constants.py')
0 files changed, 0 insertions, 0 deletions