[python-win32] Weird ADSI hang.
Jeff Fisher TEST
jeff at lfchosting.com
Thu Oct 6 05:51:54 CEST 2005
Hi all,
I'm rather frustrated by an issue I'm having.
This sample bit of code runs fine; however, at the end just hangs and the
program never ends. I'm using Python 2.3.2 (from ActiveState - build 232)
BEGIN CODE
import win32com.client
def recurse(objstr):
for obj in win32com.client.GetObject(objstr):
print "Digging into", obj.ADsPath, "class=" + obj.Class
recurse(obj.ADsPath)
print "At the start"
print recurse("IIS://localhost/W3SVC")
print "At the end"
END CODE
"At the end" does print and at that point it just hangs there.
Any ideas? I will try upgrading to Python 2.3.5 (from ActiveState)
tomorrow and see if that makes any difference.
Thanks in advance,
Jeff
More information about the Python-win32
mailing list