Author kathyvs
Recipients kathyvs
Date 2008-05-23.17:59:32
SpamBayes Score 0.00683435
Marked as misclassified No
Message-id <>
The follow code works fine when run directly. It crashes (with a bus
error) if used as a mod_python handler. It doesn't crash if ElementTree
is replaced with cElementTree.

from xml.etree import ElementTree as eltree

def handler(req):
    body = """<?xml version='1.0' encoding='utf-8'?>
<collection uuid="~01edc22c1628e711ddb20220296b032019"
  <name>Service_offerings query at 2008-05-23 12:47:28.038233</name>

    response_elem = eltree.XML(body)
    return 0

I don't know if this a mod_python or ElementTree issue, but it looks
more like an ElementTree problem.
Date User Action Args
2008-05-23 17:59:42kathyvssetspambayes_score: 0.00683435 -> 0.00683435
recipients: + kathyvs
2008-05-23 17:59:39kathyvssetspambayes_score: 0.00683435 -> 0.00683435
messageid: <>
2008-05-23 17:59:37kathyvslinkissue2951 messages
2008-05-23 17:59:34kathyvscreate