[ python-Bugs-1011606 ] 2.4 asyncore breaks Zope

SourceForge.net noreply at sourceforge.net
Wed Aug 18 19:19:22 CEST 2004


Bugs item #1011606, was opened at 2004-08-18 13:19
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1011606&group_id=5470

Category: Python Library
Group: Python 2.4
Status: Open
Resolution: None
Priority: 6
Submitted By: Tim Peters (tim_one)
Assigned to: A.M. Kuchling (akuchling)
Summary: 2.4 asyncore breaks Zope

Initial Comment:
Bug 629097 describes a thread race involving 
asyncore.pool(), and was closed with "so don't do that".

Polling exception sets is new in 2.4, though, and opens 
the same race to formerly safe uses:  leaving 
indeterminate junk in the socket map, provided that junk 
doesn't call itself readable or writable.  Such junk never 
got passed to select() before 2.4, but always gets 
passed to select() in 2.4.  This is incompatible behavior, 
albeit in a grey area.

More discussion starting at

http://mail.python.org/pipermail/python-dev/2004-
August/047817.html



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1011606&group_id=5470


More information about the Python-bugs-list mailing list