<div dir="ltr"><div class="gmail_quote">On Thu, Nov 3, 2011 at 01:40, Yoann Roman <span dir="ltr"><<a href="mailto:silentsound@gmail.com">silentsound@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
The docs for logging.handlers.TimedRotatingFileHandler in Python 2.7 say that the "utc" keyword argument was added in 2.7:<div><a href="http://docs.python.org/library/logging.handlers.html#timedrotatingfilehandler" target="_blank">http://docs.python.org/library/logging.handlers.html#timedrotatingfilehandler</a></div>
<div><br></div><div>This isn't correct, however, since it was available as of 2.6 (I verified the source as well):</div><div><a href="http://docs.python.org/release/2.6/library/logging.html#timedrotatingfilehandler" target="_blank">http://docs.python.org/release/2.6/library/logging.html#timedrotatingfilehandler</a></div>
<div><br></div><div>It did appear to change to True/False in 2.7 instead of 0/1 in 2.6. I'd recommend changing it to indicate this or removing the fact that this was added in 2.7 altogether.</div><div><br></div><div>
Thanks!</div><br></blockquote><div> </div></div>Hello Yoann,<br>
<br>
Thanks for the report. I have opened issue 13353 to track this - <a href="http://bugs.python.org/issue13353">http://bugs.python.org/issue13353</a><br>
<br>
Eli</div>