Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

documentation problem in logging.handlers.TimedRotatingFileHandler for 2.7 #57562

Closed
elibendersky mannequin opened this issue Nov 6, 2011 · 2 comments
Closed

documentation problem in logging.handlers.TimedRotatingFileHandler for 2.7 #57562

elibendersky mannequin opened this issue Nov 6, 2011 · 2 comments
Labels
docs Documentation in the Doc dir easy

Comments

@elibendersky
Copy link
Mannequin

elibendersky mannequin commented Nov 6, 2011

BPO 13353
Nosy @vsajip

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = <Date 2011-11-06.22:44:07.480>
created_at = <Date 2011-11-06.03:24:01.530>
labels = ['easy', 'docs']
title = 'documentation problem in logging.handlers.TimedRotatingFileHandler for 2.7'
updated_at = <Date 2011-11-06.22:44:07.480>
user = 'https://bugs.python.org/elibendersky'

bugs.python.org fields:

activity = <Date 2011-11-06.22:44:07.480>
actor = 'vinay.sajip'
assignee = 'docs@python'
closed = True
closed_date = <Date 2011-11-06.22:44:07.480>
closer = 'vinay.sajip'
components = ['Documentation']
creation = <Date 2011-11-06.03:24:01.530>
creator = 'eli.bendersky'
dependencies = []
files = []
hgrepos = []
issue_num = 13353
keywords = ['easy']
message_count = 2.0
messages = ['147138', '147190']
nosy_count = 4.0
nosy_names = ['vinay.sajip', 'eli.bendersky', 'docs@python', 'python-dev']
pr_nums = []
priority = 'low'
resolution = 'fixed'
stage = 'needs patch'
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue13353'
versions = ['Python 2.7']

@elibendersky
Copy link
Mannequin Author

elibendersky mannequin commented Nov 6, 2011

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.

@elibendersky elibendersky mannequin assigned docspython Nov 6, 2011
@elibendersky elibendersky mannequin added docs Documentation in the Doc dir easy labels Nov 6, 2011
@python-dev
Copy link
Mannequin

python-dev mannequin commented Nov 6, 2011

New changeset 0b779988e8b7 by Vinay Sajip in branch '2.7':
Closes issue bpo-13353: version doumentation about utc parameter corrected.
http://hg.python.org/cpython/rev/0b779988e8b7

@vsajip vsajip closed this as completed Nov 6, 2011
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir easy
Projects
None yet
Development

No branches or pull requests

1 participant