[issue46063] TimedRotatingFileHandler deletes wrong files
New submission from Sami Salonen : https://bugs.python.org/issue45628 breaks file rotation. I name my log files after module name, run the modules in separate processes, use the same log config in them, and store the log files in one common directory. For example, for modules `a.b` and `a.b.c` I have the following log files: a.b.log a.b.c.log Now after bpo-45628 fix, `getFilesToDelete` treats the rotated log files from those modules the same, and deletes wrong files. If `backupCount` is set to e.g. 7, only total of 7 files are stored instead of 7 of each. -- components: Library (Lib) messages: 408445 nosy: Sami Salonen priority: normal severity: normal status: open title: TimedRotatingFileHandler deletes wrong files type: behavior versions: Python 3.10, Python 3.11, Python 3.9 ___ Python tracker <https://bugs.python.org/issue46063> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue46063] TimedRotatingFileHandler deletes wrong files
Sami Salonen added the comment: Breaking PR: https://github.com/python/cpython/pull/29310 -- ___ Python tracker <https://bugs.python.org/issue46063> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue25850] Building extensions with MSVC 2015 Express fails
New submission from Sami Salonen: MSVC 2015 Express doesn't include the 64-bit compiler [1], and this causes distutils to fail to load proper compiler settings when using a 64-bit machine to compile extensions for 64-bit python. _msvccompiler.py tries to call "vcvarsall.bat amd64", but the VC\bin\amd64 directory contains only one file "vcmeta.dll". [1] https://msdn.microsoft.com/en-us/library/hs24szh9(v=vs.140).aspx -- components: Distutils, Extension Modules, Windows messages: 256296 nosy: Sami Salonen, dstufft, eric.araujo, paul.moore, steve.dower, tim.golden, zach.ware priority: normal severity: normal status: open title: Building extensions with MSVC 2015 Express fails versions: Python 3.5 ___ Python tracker <http://bugs.python.org/issue25850> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com