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.
Created on 2012年05月20日 13:39 by guibog, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg161206 - (view) | Author: Guillaume (guibog) | Date: 2012年05月20日 13:39 | |
In the logging module documentation, nothing tells the user how to undo or reset a call to logging.disable(lvl). From reading the code (python 2.6 version) it seem the correct way to undo disable(lvl) is to call disable(0), but I think calling disable(NOTSET) would make more sense. The sentence I propose to add at the end of the paragraph about the disable() function is: To undo the effect of a call to logging.disable(lvl), call logging.disable(logging.NOTSET). (This is my first doc bug report, please feel free to tell me how to improve.) |
|||
| msg161208 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2012年05月20日 14:37 | |
New changeset 4973c90ce9e6 by Vinay Sajip in branch '2.7': Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call. http://hg.python.org/cpython/rev/4973c90ce9e6 New changeset c30170a168b3 by Vinay Sajip in branch '3.2': Fixes #14864: Added documentation on how to undo the effects of a logging.disable() call. http://hg.python.org/cpython/rev/c30170a168b3 New changeset 76445d7e613f by Vinay Sajip in branch 'default': Closes #14864: Added documentation on how to undo the effects of a logging.disable() call. Thanks to user Guillaume for the suggestion. http://hg.python.org/cpython/rev/76445d7e613f |
|||
| msg161209 - (view) | Author: Vinay Sajip (vinay.sajip) * (Python committer) | Date: 2012年05月20日 14:39 | |
Guillaume, thank you, your wording was perfect! |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:30 | admin | set | github: 59069 |
| 2012年05月20日 14:39:53 | vinay.sajip | set | messages: + msg161209 |
| 2012年05月20日 14:37:41 | python-dev | set | status: open -> closed nosy: + python-dev messages: + msg161208 resolution: fixed stage: resolved |
| 2012年05月20日 13:54:05 | pitrou | set | nosy:
+ vinay.sajip |
| 2012年05月20日 13:39:37 | guibog | create | |