Michael Hu added the comment: (gdb) py-bt #4 Frame 0x7f0ab7a2db60, for file /etc/remoting/remoting_agent.zip/Pyro4/socketutil.py, line 463, in close (self=<SocketConnection at remote 0x7f0ab7a24190>) self.sock.shutdown(socket.SHUT_RDWR) #7 Frame 0x7f0ab0001760, for file /etc/remoting/remoting_agent.zip/Pyro4/socketutil.py, line 453, in __del__ (self=<SocketConnection at remote 0x7f0ab7a24190>) self.close() (gdb) py-list 458 def recv(self, size): 459 return receiveData(self.sock, size) 460 461 def close(self): 462 try: >463 self.sock.shutdown(socket.SHUT_RDWR) 464 except (OSError, socket.error): 465 pass 466 try: 467 self.sock.close() 468 except AttributeError: (gdb) f 7 #7 PyEval_EvalFrameEx ( f=f@entry=Frame 0x7f0ab0001760, for file /etc/remoting/remoting_agent.zip/Pyro4/socketutil.py, line 453, in __del__ (self=<SocketConnection at remote 0x7f0ab7a24190>), throwflag=throwflag@entry=0) at ../Python/ceval.c:2681 2681 in ../Python/ceval.c (gdb) py-list 448 def __init__(self, sock, objectId=None): 449 self.sock = sock 450 self.objectId = objectId 451 452 def __del__(self): >453 self.close() 454 455 def send(self, data): 456 sendData(self.sock, data) 457 458 def recv(self, size): (gdb)
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue28673> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com