bpo-33943: Add references to logging.basicConfig#7858
bpo-33943: Add references to logging.basicConfig#7858taleinat merged 4 commits intopython:masterfrom
Conversation
Doc/library/logging.rst
Outdated
| | | <old-string-formatting>`, | | ||
| | | :meth:`str.format` or | | ||
| | | :class:`string.Template` respectively. | | ||
| | | Defaults to ``'%'`` | |
There was a problem hiding this comment.
Missing a period at the end.
Doc/library/logging.rst
Outdated
| +--------------+---------------------------------------------+ | ||
| | ``datefmt`` | Use the specified date/time format. | | ||
| | ``datefmt`` | Use the specified :func:`time.strftime` | | ||
| | | style date/time format. | |
There was a problem hiding this comment.
I suggest a different wording, to avoid the non-hyphenated use of "style", e.g.:
"Use the specified date/time format, as accepted by time.strftime."
Doc/library/logging.rst
Outdated
| | ``filemode`` | Specifies the mode to open the file, if | | ||
| | | filename is specified (if filemode is | | ||
| | | unspecified, it defaults to 'a'). | | ||
| | ``filemode`` | If ``filename`` is specified, open the file | |
There was a problem hiding this comment.
Use *filename* rather than ``filename`` (here and elsewhere).
From the Documenting Python page in the developers guide:
Names of local variables, such as function/method arguments, are an exception, they should be marked simply with *var*.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
I have made the requested changes; please review again Thanks for the review, Tal! |
|
Thanks for making the requested changes! @taleinat: please review the changes made to this pull request. |
e6fdb02 to
01e0c9b
Compare
taleinat
left a comment
There was a problem hiding this comment.
This looks great to me!
|
Thanks @andresdelfino for the PR, and @taleinat for merging it 🌮🎉.. I'm working now to backport this PR to: 3.6. |
|
Thanks @andresdelfino for the PR, and @taleinat for merging it 🌮🎉.. I'm working now to backport this PR to: 2.7. |
|
Thanks @andresdelfino for the PR, and @taleinat for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
GH-7899 is a backport of this pull request to the 3.6 branch. |
|
Sorry, @andresdelfino and @taleinat, I could not cleanly backport this to |
|
GH-7900 is a backport of this pull request to the 3.7 branch. |
…ythonGH-7858) Adds references to info about file modes, `time.strftime()`, string formatting syntaxes, and logging levels. (cherry picked from commit a8ddf85) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
…ythonGH-7858) Adds references to info about file modes, `time.strftime()`, string formatting syntaxes, and logging levels.. (cherry picked from commit a8ddf85) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
|
GH-7902 is a backport of this pull request to the 2.7 branch. |
https://bugs.python.org/issue33943