[Python-checkins] python/dist/src/Lib asyncore.py,1.43,1.44

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Feb 8 06:32:53 EST 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17059

Modified Files:
	asyncore.py 
Log Message:
SF bug #892492:  Multiple close() for asyncore.dispatcher.
(Contributed by Alexey Klimkin.)

Don't keep the file descriptor after the channel is deleted.



Index: asyncore.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.43
retrieving revision 1.44
diff -C2 -d -r1.43 -r1.44
*** asyncore.py	22 Oct 2003 14:38:27 -0000	1.43
--- asyncore.py	8 Feb 2004 11:32:50 -0000	1.44
***************
*** 223,226 ****
--- 223,227 ----
              #self.log_info('closing channel %d:%s' % (fd, self))
              del map[fd]
+         self._fileno = None
  
      def create_socket(self, family, type):




More information about the Python-checkins mailing list