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

Stefan Behnel stefan_ml at behnel.de
Wed Jan 23 16:50:39 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?

Stefan


More information about the lxml-dev mailing list