[Python-checkins] CVS: python/dist/src/Lib asyncore.py,1.18,1.19
Martin v. L?wis
loewis@users.sourceforge.net
Wed, 19 Sep 2001 10:31:49 -0700
- Previous message: [Python-checkins] CVS: python/dist/src/Misc NEWS,1.245,1.246
- Next message: [Python-checkins] CVS: python/dist/src/Tools/compiler/compiler __init__.py,1.5,NONE ast.py,1.18,NONE astgen.py,1.6,NONE consts.py,1.5,NONE future.py,1.2,NONE misc.py,1.10,NONE pyassem.py,1.27,NONE pycodegen.py,1.55,NONE symbols.py,1.9,NONE syntax.py,1.2,NONE transformer.py,1.28,NONE visitor.py,1.8,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]
Update of /cvsroot/python/python/dist/src/Lib
In directory usw-pr-cvs1:/tmp/cvs-serv20328
Modified Files:
asyncore.py
Log Message:
Patch #461321: Support None as a timeout in poll2 and poll3.
Index: asyncore.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/asyncore.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -C2 -d -r1.18 -r1.19
*** asyncore.py 2001/09/11 15:11:27 1.18
--- asyncore.py 2001/09/19 17:31:47 1.19
***************
*** 111,116 ****
if map is None:
map=socket_map
! # timeout is in milliseconds
! timeout = int(timeout*1000)
if map:
l = []
--- 111,117 ----
if map is None:
map=socket_map
! if timeout is not None:
! # timeout is in milliseconds
! timeout = int(timeout*1000)
if map:
l = []
***************
*** 143,148 ****
if map is None:
map=socket_map
! # timeout is in milliseconds
! timeout = int(timeout*1000)
pollster = select.poll()
if map:
--- 144,150 ----
if map is None:
map=socket_map
! if timeout is not None:
! # timeout is in milliseconds
! timeout = int(timeout*1000)
pollster = select.poll()
if map:
- Previous message: [Python-checkins] CVS: python/dist/src/Misc NEWS,1.245,1.246
- Next message: [Python-checkins] CVS: python/dist/src/Tools/compiler/compiler __init__.py,1.5,NONE ast.py,1.18,NONE astgen.py,1.6,NONE consts.py,1.5,NONE future.py,1.2,NONE misc.py,1.10,NONE pyassem.py,1.27,NONE pycodegen.py,1.55,NONE symbols.py,1.9,NONE syntax.py,1.2,NONE transformer.py,1.28,NONE visitor.py,1.8,NONE
- Messages sorted by:
[ date ]
[ thread ]
[ subject ]
[ author ]