[XML-SIG] Threads and minidom problems

Dario Correal dario.correal@scriptasoftware.com
Tue, 18 Feb 2003 14:04:55 -0500


I am working on a project and I need to use minidom inside a thread code.
When a use minidom outside the thread everything is fine, but inside the
thread code nothing happens.

My code has this structure

if __name__ == '__main__':
    thread.start_new_thread ( foo, (file,))

def foo ( file ):
   doc = minidom.parse(file)
   #never reach this point

Thanks in advance,

Dario Correal
Scripta Software Ltda.
PBX: (57 1)256-3442
Cel: 343-8192