Re: [xml] using "raise" in Python error handler callbacks



On 31 Mar 2005, at 23:19, Daniel Veillard wrote:

On Thu, Mar 31, 2005 at 10:58:33PM +0100, Andrew McDermott wrote:
Isn't it the case that the calling sequence starts within Python so it
should be possible to return an error indication?

  I don't see how.

OK, I think I see the problem...

So the C code that called PyEval_CallObject() was NOT called from Python, but libxml (i.e., C), correct?


Daniel

--
Daniel Veillard      | Red Hat Desktop team http://redhat.com/
veillard redhat com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]