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 jjdmol
Recipients
Date 2005-12-15.10:14:49
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Logged In: YES 
user_id=516066

Ok thanks. The example with handle_connect() is just one out of many btw: in 
general, don't run code after push() which uses or assumes data which 
handle_error() cleans up.

There are indeed cases in which initiate_send() in a push() is practical. Aside 
from throughput issues, sending heartbeat messages or streaming data from 
another thread using a timer doesn't work without initiate_send, because the 
data wouldn't be sent until select() in the main thread feels like returning.
History
Date User Action Args
2007-08-23 14:36:28adminlinkissue1370380 messages
2007-08-23 14:36:28admincreate