[ python-Feature Requests-491033 ] asyncore - api doesn't provide
doneevent
SourceForge.net
noreply at sourceforge.net
Thu May 20 02:28:44 EDT 2004
Feature Requests item #491033, was opened at 2001-12-09 22:00
Message generated for change (Comment added) made by josiahcarlson
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=491033&group_id=5470
Category: Python Library
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Joseph Wayne Norton (natsukashi)
Assigned to: Nobody/Anonymous (nobody)
Summary: asyncore - api doesn't provide doneevent
Initial Comment:
The asyncore api doesn't provide a way to invoke the
"loop" method but to only perform one iteration.
Since the loop method does some selection of which poll
method to call before entering the while loop, I have
to duplicate the same behavior in my own
"dooneiteration" method.
I would like some functionality similar to the Tk
interp model where one can enter the mainloop or simply
do one event.
regards,
- joe n.
----------------------------------------------------------------------
Comment By: Josiah Carlson (josiahcarlson)
Date: 2004-05-19 23:28
Message:
Logged In: YES
user_id=341410
I've implemented and submitted a patch to implement the
desired functionality in asyncore.loop via a 4th keyword
argument called 'count'.
The patch to current CVS can be found here:
python.org/sf/957240
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2001-12-10 09:41
Message:
Logged In: YES
user_id=31435
The Feature Requests tracker didn't have any Categories
defined. I defined the same ones as the Bug tracker has,
and purt this report in category "Python Library".
----------------------------------------------------------------------
Comment By: Tim Peters (tim_one)
Date: 2001-12-10 09:15
Message:
Logged In: YES
user_id=31435
Moved to the Feature Request tracker.
----------------------------------------------------------------------
Comment By: Guido van Rossum (gvanrossum)
Date: 2001-12-10 06:47
Message:
Logged In: YES
user_id=6380
If you can supply a decent patch, we'd happily apply it to
Python 2.3.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=355470&aid=491033&group_id=5470
More information about the Python-bugs-list
mailing list