[XML-SIG] bad c extension practice

Andrew Kuchling akuchlin@mems-exchange.org
Thu, 24 Aug 2000 10:39:34 -0400


On Thu, Aug 24, 2000 at 10:36:49AM +0100, Robin Becker wrote:
>the xml-sig group might regard this as a tragedy, but I might wish to
>continue and use another parser. The correct behaviour for this sort of
>error ought IMHO to be to raise an ImportError clean up any privately
>allocated resources and return.

This means the module's init*() function could not be completed for
some reason, and hence the module object might be incomplete in some
way.  A fatal error therefore seems appropriate.

--amk