[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-11-19 Thread Vinay Sajip
Change by Vinay Sajip : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Py

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-11-19 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 65dffe58dd062385024eacbe75a0fa59ec12a993 by Vinay Sajip (Miss Islington (bot)) in branch '3.6': bpo-30989: Sort in TimedRotatingFileHandler only when needed. (GH-2812) (GH-4466) https://github.com/python/cpython/commit/65dffe58dd062385024eacbe75a0f

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-11-19 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +4399 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-lis

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-10-27 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset afad147b59fe84b12317f7340ddd2deeecb22321 by Vinay Sajip (Lovesh Harchandani) in branch 'master': bpo-30989: Sort in TimedRotatingFileHandler only when needed. (GH-2812) https://github.com/python/cpython/commit/afad147b59fe84b12317f7340ddd2deeecb2232

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-10-26 Thread Berker Peksag
Change by Berker Peksag : -- nosy: +vinay.sajip ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-07-22 Thread Lovesh Harchandani
Changes by Lovesh Harchandani : -- pull_requests: +2863 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-07-22 Thread Lovesh Harchandani
Changes by Lovesh Harchandani : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-07-22 Thread Lovesh Harchandani
Changes by Lovesh Harchandani : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue30989] Sort only when needed in TimedRotatingFileHandler's getFilesToDelete

2017-07-22 Thread Lovesh Harchandani
New submission from Lovesh Harchandani: At `/Lib/logging/handlers.py` in `TimedRotatingFileHandler`'s `getFilesToDelete` method, filenames are sorted using `result.sort()` regardless of `len(result)`, if `len(result)` < backupCount, sorting is not required. -- messages: 298839 nosy: L