Title: Note missing from logging.debug() docs
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.8, Python 3.7, Python 3.6, Python 3.5
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: docs@python Nosy List: docs@python, pgacv2, vinay.sajip
Priority: normal Keywords: patch

Created on 2018-02-07 15:53 by pgacv2, last changed 2018-10-18 10:56 by vinay.sajip. This issue is now closed.

Pull Requests
URL Status Linked Edit
PR 9946 merged vinay.sajip, 2018-10-18 10:25
Messages (3)
msg311792 - (view) Author: Pedro (pgacv2) Date: 2018-02-07 15:53
The docs for Logger.debug() ( specify that exc_info can take an exception instance as of version 3.5.

However, the docs for logging.debug() ( do not, even though logging.debug() redirects to an instance of Logger and so can take the same types of arguments.
msg311793 - (view) Author: Pedro (pgacv2) Date: 2018-02-07 16:01
Might be cleaner to just say, "The arguments are interpreted as for debug/info/warning/error/critical/exception/log," but with the bookmark URL pointing to the Logger methods.
msg327963 - (view) Author: Vinay Sajip (vinay.sajip) * (Python committer) Date: 2018-10-18 10:56
Documentation for 3.6/3.7/3.8 updated. 3.5 is out of scope for this.
Date User Action Args
2018-10-18 10:56:13vinay.sajipsetstatus: open -> closed

nosy: + vinay.sajip
messages: + msg327963

resolution: fixed
stage: patch review -> resolved
2018-10-18 10:25:04vinay.sajipsetkeywords: + patch
stage: patch review
pull_requests: + pull_request9296
2018-02-07 16:01:32pgacv2setmessages: + msg311793
2018-02-07 15:53:39pgacv2create