axil added the comment:
This fix breaks the behavior of RotatingFileHandler.
Maxbytes0 can now be only used with backupCount0 otherwise it is ignored.
So all programs that are using Maxbytes0 and backupCount=0 are now facing an
infinitely growing logfile.
--
nosy: +axil
type:
Changes by Hynek Schlawack h...@ox.cx:
--
nosy: +hynek
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16244
___
___
Python-bugs-list mailing list
Changes by Ned Deily n...@acm.org:
--
nosy: +vinay.sajip
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue16244
___
___
Python-bugs-list mailing list
Roundup Robot added the comment:
New changeset 6fcfe701502b by Vinay Sajip in branch '2.7':
Issue #16244: Remove file mode overrides.
http://hg.python.org/cpython/rev/6fcfe701502b
New changeset 5e770555be62 by Vinay Sajip in branch '3.2':
Issue #16244: Remove file mode overrides.
New submission from Richard Jones:
The RotatingFileHandler classes force the open() mode of the new log file to be
w even though it is initially defaulted to a in doRollover() methods:
self.mode = 'w'
self.stream = self._open()
This can cause problems in systems that have