Friðrik Már Jónsson added the comment:
That's a fair conclusion, but in this case I'd appreciate Terry's suggested doc
patch being implemented:
DOC PATCH In 15.6.12.5. RotatingFileHandler, replace
"If mode is not specified, 'a' is used." with
"If mode
Friðrik Már Jónsson added the comment:
I agree with your points on the triviality and potential harmfulness of
allowing modes like 'b' and 'w'.
The '+' mode may be required for loggers that require headers or validation or
positioning within an existing file (t
Friðrik Már Jónsson added the comment:
It may not have been entirely obvious that what I meant with the Extended Log
File Format example is that read access would be optimal.
--
___
Python tracker
<http://bugs.python.org/issue9
Friðrik Már Jónsson added the comment:
Thank you. I should have been more clear about what I meant.
This this condition was introduced in r38631 by Vinay Sajip having the log
message "Added optional encoding argument to file handlers." I can't easily
see why this piece of co
New submission from Friðrik Már Jónsson :
It seems to me that the ``mode`` keyword argument of
``logging.handlers.RotatingFileHandler`` is not respected.
Here is an example of opening a nonexistent file::
Python 2.7 (r27:82500, Aug 4 2010, 15:10:49)
[GCC 4.3.2] on linux2
Type