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/2005-October/057807.html below:

[Python-Dev] StreamHandler eating exceptions

[Python-Dev] StreamHandler eating exceptions [Python-Dev] StreamHandler eating exceptionsVinay Sajip vinay_sajip at yahoo.co.uk
Mon Oct 31 14:59:53 CET 2005
Gustavo Niemeyer <gustavo <at> niemeyer.net> writes:

> 
> The StreamHandler available under the logging package is currently
> catching all exceptions under the emit() method call. In the
> Handler.handleError() documentation it's mentioned that it's
> implemented like that because users do not care about errors
> in the logging system.
> 
> I'd like to apply the following patch:
[patch snipped]
> Anyone against the change?
> 

Good idea. I've checked into svn a patch for both logging/__init__.py and
logging/handlers.py which raises both KeyboardInterrupt and SystemExit raised
during emit().

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