order of object desctruction
bromden
bromden at gazeta.pl.no.spam
Tue Oct 28 16:10:43 EST 2003
please, read the warning here
http://www.python.org/doc/ref/customization.html
try declaring a global variable starting with an underscore (i
am not kidding) and see if it works then,
you can also try to secure yourself with a conditional:
def SendCommand(self, cmd):
if socket:
sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
...
--
bromden[at]gazeta.pl
More information about the Python-list
mailing list