[lxml-dev] Restrict exception error log to local errors?

jholg at gmx.de jholg at gmx.de
Thu Jan 24 10:44:29 CET 2008


Hi,

> 
> 
> currently, the "error_log" property on exceptions raised by lxml 
> represents a
> frozen snapshot of the global error log, thus aggregating loads of errors 
> that
> have recently occurred, but that are not necessarily related to the 
> problem
> that lead to the exception. However, we could often restrict that to an 
> error
> log snapshot that is local to the operation that raised the exception.
> 
> Question: should this be changed? Is there a reason this should not be 
> changed
> for 2.0?
> 

I for one am indifferent (since I never even noticed the aggregation 
behaviour so far ;-)

If someone wants to have kind of an exception history, then there'll still 
be the global

error log (?).

 Holger
-- 
Ist Ihr Browser Vista-kompatibel? Jetzt die neuesten 
Browser-Versionen downloaden: http://www.gmx.net/de/go/browser
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://codespeak.net/pipermail/lxml-dev/attachments/20080124/888e5513/attachment.htm 


More information about the lxml-dev mailing list