Re: [Python-Dev] [PATCH][BUG] Segmentation Fault in xml.dom.minidom.parse

2005-09-29 Thread Neal Norwitz
On 9/29/05, Evan Jones <[EMAIL PROTECTED]> wrote: > > Any chance that someone wants to commit this tiny two line fix? That's reallly not the question you *want* to be asking. :-) > This might be the kind of fix that might be elegible to be backported to > Python 2.4 as well. It passes "make test

[Python-Dev] [PATCH][BUG] Segmentation Fault in xml.dom.minidom.parse

2005-09-29 Thread Evan Jones
The following Python script causes Python 2.3, 2.4 and the latest CVS to crash with a Segmentation Fault: import xml.dom.minidom x = u'\nComment \xe7a va ? Tr\xe8s bien ?' dom = xml.dom.minidom.parseString( x.encode( 'latin_1' ) ) print repr( dom.childNodes[0].localName ) The problem is that