[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]> <http://bugs.pytho

[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

[issue1373762] Tweak pprint.PrettyPrinter.format for subclassing

2007-11-16 Thread Kathy Van Stone
Kathy Van Stone added the comment: I might be able to give a more compelling example (aside from the fact wanting it to fit the documentation which implies that one can subclass the pretty printer). I had a structure containing mostly lists, dictionary and primitives that I wanted to display