homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author klimkin
Recipients
Date 2005年02月26日.21:39:44
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=410460
Minor improvements:
 * Added handle_close_event(): calls handle_close(), then 
closes channel. No need to write self.close() in each handle_close
().
 * Improved exception handling. KeyboardInterrupt is not 
blocked. For python exception handle_error_event() is called, 
which checks for KeyboardInterrupt and closes socket, if 
handle_error didn't.
Bugs:
 * Calling connect() could raise exception and doesn't hit 
handle_error(). Now if there was an exception, 
handle_error_event() is called.
Features:
 * set_timeout(): Sets timeout for dispatcher object, if there was 
no io for the object, raises ETIMEDOUT, which handled by 
handle_error_event().
 * Fixed issue with Windows - too many descriptors in select(). 
The list of sockets shuffled and only first asyncore.max_channels 
used in select().
 * Added set_prio(): Sets priority for dispatcher. After shuffle 
the list of sockets sorted by priority.
You may also check asynhttplib - asynchronous version of httplib.
History
Date User Action Args
2007年08月23日 15:32:37adminlinkissue909005 messages
2007年08月23日 15:32:37admincreate

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