[Python-checkins] CVS: python/dist/src/Lib asyncore.py,1.4,1.5
Guido van Rossum
guido@cnri.reston.va.us
Fri, 25 Feb 2000 06:48:45 -0500 (EST)
Update of /projects/cvsroot/python/dist/src/Lib
In directory eric:/projects/python/develop/guido/src/Lib
Modified Files:
asyncore.py
Log Message:
Fix a couple broken append() calls, spotted by Tim.
Index: asyncore.py
===================================================================
RCS file: /projects/cvsroot/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** asyncore.py 2000/02/04 15:39:29 1.4
--- asyncore.py 2000/02/25 11:48:42 1.5
***************
*** 103,107 ****
flags = flags | poll.POLLOUT
if flags:
! l.append (fd, flags)
r = poll.poll (l, timeout)
for fd, flags in r:
--- 103,107 ----
flags = flags | poll.POLLOUT
if flags:
! l.append ((fd, flags))
r = poll.poll (l, timeout)
for fd, flags in r:
***************
*** 395,403 ****
tbinfo = []
while 1:
! tbinfo.append (
tb.tb_frame.f_code.co_filename,
! tb.tb_frame.f_code.co_name,
str(tb.tb_lineno)
! )
tb = tb.tb_next
if not tb:
--- 395,403 ----
tbinfo = []
while 1:
! tbinfo.append ((
tb.tb_frame.f_code.co_filename,
! tb.tb_frame.f_code.co_name,
str(tb.tb_lineno)
! ))
tb = tb.tb_next
if not tb: