This is a discussion on sgmlop - xmlrpclib - bang - Python ; simple data for simple test - my version fails after 10 loops after removing sgmlop.pyd from DLLs - everything is working as expected mak #python data='''\ <?xml version="1.0"?> <methodCall> <methodName>mws.ScannerLogout</methodName> <params> <param> <value> <i4>7</i4> </value> </param> </params> </methodCall> ''' import ...
simple data for simple test - my version fails after 10 loops
after removing sgmlop.pyd from DLLs - everything is working as expected
mak
#python
data='''\
<?xml version="1.0"?>
<methodCall>
<methodName>mws.ScannerLogout</methodName>
<params>
<param>
<value>
<i4>7</i4>
</value>
</param>
</params>
</methodCall>
'''
import xmlrpclib
def main():
i = 1
while 1:
print i
params, method = xmlrpclib.loads(data)
i+=1
main()