This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: documentation problem in logging.handlers.TimedRotatingFileHandler for 2.7
Type: Stage: needs patch
Components: Documentation Versions: Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, eli.bendersky, python-dev, vinay.sajip
Priority: low Keywords: easy

Created on 2011-11-06 03:24 by eli.bendersky, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg147138 - (view) Author: Eli Bendersky (eli.bendersky) * (Python committer) Date: 2011-11-06 03:24
User (Yoann Roman) report on docs@ maillist:

----

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.
msg147190 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-11-06 22:42
New changeset 0b779988e8b7 by Vinay Sajip in branch '2.7':
Closes issue #13353: version doumentation about utc parameter corrected.
http://hg.python.org/cpython/rev/0b779988e8b7
History
Date User Action Args
2022-04-11 14:57:23adminsetgithub: 57562
2011-11-06 22:44:07vinay.sajipsetstatus: open -> closed
resolution: fixed
2011-11-06 22:42:10python-devsetnosy: + python-dev
messages: + msg147190
2011-11-06 15:31:32ezio.melottisetnosy: + vinay.sajip

stage: needs patch
2011-11-06 03:24:01eli.benderskycreate