[XML-SIG] minidom/pulldom connection

Fred L. Drake, Jr. fdrake@acm.org
Thu, 23 Nov 2000 01:22:22 -0500 (EST)


Greg Stein writes:
 > Before: each time you called startDocument(), it would start a new document.
 > Now, it will only do so the first time.
 > 
 > I would recommend passing a class (a constructor, really) object to __init__
 > and storing that constructor. startDocument() can then call it
 > unconditionally like before.

  Excellent point!  I've updated the patch on SourceForge:

http://sourceforge.net/patch/?func=detailpatch&patch_id=102477&group_id=5470

 > [ this does imply moving the import back to the global scope ]

  Actually, no, it doesn't.  ;)


  -Fred

-- 
Fred L. Drake, Jr.  <fdrake at acm.org>
PythonLabs at Digital Creations