On Wednesday, 5 September 2012 18:34:32 UTC+5:30, Chris Angelico wrote: > On Wed, Sep 5, 2012 at 10:54 PM, Ramchandra Apte <maniandra...@gmail.com> > wrote: > > > At least on Linux, if you kill a process using sockets, it takes about 10 > > seconds for socket to be closed. A program should try to close all > > resources. OS'es may take a long time to close a unclosed socket > > automatically. > > > > Err, that's not my experience. When a process terminates, its > > resources are released promptly.
It is not guaranteed so a program shouldn't presume. > > > > ChrisA -- http://mail.python.org/mailman/listinfo/python-list