A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2008-March/077790.html below:

[Python-Dev] logging shutdown (was: Re: [Python-checkins] r61431

[Python-Dev] logging shutdown (was: Re: [Python-checkins] r61431 - python/trunk/Doc/library/logging.rst) [Python-Dev] logging shutdown (was: Re: [Python-checkins] r61431 - python/trunk/Doc/library/logging.rst)Jim Jewett jimjjewett at gmail.com
Tue Mar 18 23:54:16 CET 2008
I think (repeatedly) testing an app through IDLE is a reasonable use case.

Would it be reasonable for shutdown to remove logging from
sys.modules, so that a rerun has some chance of succeeding via its own
import?

-jJ

On 3/16/08, vinay.sajip <python-checkins at python.org> wrote:
> Author: vinay.sajip
>  Date: Sun Mar 16 22:35:58 2008
>  New Revision: 61431
>
>  Modified:
>    python/trunk/Doc/library/logging.rst
>  Log:
>  Clarified documentation on use of shutdown().
>
>  Modified: python/trunk/Doc/library/logging.rst
>  ==============================================================================
>  --- python/trunk/Doc/library/logging.rst        (original)
>  +++ python/trunk/Doc/library/logging.rst        Sun Mar 16 22:35:58 2008
>  @@ -732,7 +732,8 @@
>   .. function:: shutdown()
>
>     Informs the logging system to perform an orderly shutdown by flushing and
>  -   closing all handlers.
>  +   closing all handlers. This should be called at application exit and no
>  +   further use of the logging system should be made after this call.
>
>
>   .. function:: setLoggerClass(klass)
>  _______________________________________________
>  Python-checkins mailing list
>  Python-checkins at python.org
>  http://mail.python.org/mailman/listinfo/python-checkins
>
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4