[Python-checkins] python/dist/src/Lib asyncore.py,1.51,1.52

loewis at users.sourceforge.net loewis at users.sourceforge.net
Mon Jun 14 00:58:45 EDT 2004


Update of /cvsroot/python/python/dist/src/Lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2465/Lib
Modified Files:
	asyncore.py 
Log Message:
Back out #957240.
Index: asyncore.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.51
retrieving revision 1.52
diff -C2 -d -r1.51 -r1.52
*** asyncore.py	3 Jun 2004 09:18:34 -0000	1.51
--- asyncore.py	14 Jun 2004 04:58:42 -0000	1.52
***************
*** 158,162 ****
 poll3 = poll2 # Alias for backward compatibility
 
! def loop(timeout=30.0, use_poll=False, map=None, count=1e309):
 if map is None:
 map = socket_map
--- 158,162 ----
 poll3 = poll2 # Alias for backward compatibility
 
! def loop(timeout=30.0, use_poll=False, map=None):
 if map is None:
 map = socket_map
***************
*** 167,173 ****
 poll_fun = poll
 
! while map and count >= 0:
 poll_fun(timeout, map)
- count = count - 1
 
 class dispatcher:
--- 167,172 ----
 poll_fun = poll
 
! while map:
 poll_fun(timeout, map)
 
 class dispatcher:


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /