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: 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
process
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 2022-04-11 14:58 by admin. 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() (https://docs.python.org/3/library/logging.html#logging.Logger.debug) specify that exc_info can take an exception instance as of version 3.5.

However, the docs for logging.debug() (https://docs.python.org/3/library/logging.html#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.
History
Date User Action Args
2022-04-11 14:58:57adminsetgithub: 76970
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