I wonder if, once PEP 352 is accepted, this shouldn't be changed so
that there is only one except clause instead of two, and it says
"except Exception:". This has roughly the same effect as the proposed
(and already applied) patch, but does it in a Python-3000-compatible
way. ATM it is less robust
Gustavo Niemeyer 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 erro
On Sunday 30 October 2005 18:37, Gustavo Niemeyer wrote:
> I'd like to apply the following patch:
+1
Might want to include SystemExit as well, though I think that's less likely to
be seen in practice.
-Fred
--
Fred L. Drake, Jr.
___
Python-De
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 fol