sgmlop - xmlrpclib - bang
Grzegorz Makarewicz
mak at trisoft.com.pl
Tue Oct 30 20:29:11 EDT 2007
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()
More information about the Python-list
mailing list