[XML-SIG] Future plans
Hannu Krosing
hannu@tm.ee
Mon, 27 Dec 1999 11:16:29 +0200
uche.ogbuji@fourthought.com wrote:
>
> > * Requires that 4Suite base be added to XML-SIG distribution
> > (But the only dependency, at least in the DOM, seems to be on
> > Ft.Lib.TraceOut.)
>
> Yes, it's only TraceOut. We were considering a tool for stripping TraceOut
> calls in cases where the millisecond of performance was a concern, but haven't
> done so. An obvious solution is to remove the trace statements, although I'll
> sorely miss them while debugging. We could also leave them in and strip them
> before packaging, or we could move Lib.Traceout into Dom.Ext.
AFAIK the canonical pythonic way would be
try:
from Ft.Lib import TraceOut
except:
from fake_ft_lib import TraceOut
----------------
Hannu