[docs] Error in logging.handlers.TimedRotatingFileHandler for 2.7

Yoann Roman silentsound at gmail.com
Thu Nov 3 00:40:50 CET 2011


The docs for logging.handlers.TimedRotatingFileHandler in Python 2.7 say
that the "utc" keyword argument was added in 2.7:
http://docs.python.org/library/logging.handlers.html#timedrotatingfilehandler

This isn't correct, however, since it was available as of 2.6 (I verified
the source as well):
http://docs.python.org/release/2.6/library/logging.html#timedrotatingfilehandler

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.

Thanks!

Yoann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/docs/attachments/20111102/5b41ad17/attachment.html>


More information about the docs mailing list