[issue4490] xml/sax/expatreader.py raises AttributeError when run

2009-06-22 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: These functions are already tested, but I think that this kind of code also serves to show a basic usage of the module. Fixed with r73509. -- nosy: +amaury.forgeotdarc resolution: -> fixed status: open -> closed

[issue4490] xml/sax/expatreader.py raises AttributeError when run

2009-06-12 Thread Jean-Paul Calderone
Jean-Paul Calderone added the comment: I found XMLGenerator in xml.sax.saxutils. Attached patch changes expatreader to use that instead. Though I have no idea what the point of this stanza is. I suppose it's to exercise the code, in lieu of some unit tests. It might be better to just delete

[issue4490] xml/sax/expatreader.py raises AttributeError when run

2008-12-02 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone <[EMAIL PROTECTED]>: expatreader.py has a __main__ which uses something called `xml.sax.XMLGenerator´. However, `xml.sax´ has no such attribute. -- components: Library (Lib) messages: 76754 nosy: exarkun severity: normal status: open title: xml/sa