[issue2951] ElementTree parsing bus error (but only from mod_python)

2008-08-01 Thread Jack Diederich
Jack Diederich <[EMAIL PROTECTED]> added the comment: It is a common apache problem. Elementree imports an expat parser (presumably cElementree doesn't) and different versions of expat play together very poorly. Lots of apache modules load one xml lib version or another and they tend to step on

[issue2951] ElementTree parsing bus error (but only from mod_python)

2008-07-19 Thread Kathy Van Stone
Kathy Van Stone <[EMAIL PROTECTED]> added the comment: Does ElementTree do anything unusual in importing? That is one area where mod_python is different from standard python. ___ Python tracker <[EMAIL PROTECTED]> ___

[issue2951] ElementTree parsing bus error (but only from mod_python)

2008-07-19 Thread Benjamin Peterson
Benjamin Peterson <[EMAIL PROTECTED]> added the comment: This is probably a mod_python problem. -- nosy: +benjamin.peterson ___ Python tracker <[EMAIL PROTECTED]> ___ _

[issue2951] ElementTree parsing bus error (but only from mod_python)

2008-07-19 Thread nicodotti
nicodotti <[EMAIL PROTECTED]> added the comment: Thanks for logging this bug Kathy I had the same problem for 2 days! I used the cElementTree as you mentioned and it worked fine -- nosy: +nicodotti ___ Python tracker <[EMAIL PROTECTED]>

[issue2951] ElementTree parsing bus error (but only from mod_python)

2008-05-23 Thread Kathy Van Stone
New submission from Kathy Van Stone <[EMAIL PROTECTED]>: 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):