I've implemented a real basic IRC client class in 100 lines using asynchat (yes I know about Twisted). The problem I'm having is arbitrarily starting and stopping multiple instances of this class after I call loop().
The asyncore docs seem to imply everything's fixed in stone once loop() is called, where they say, "Once the initial channel(s) is(are) created, calling the loop() function activates channel service, which continues until the last channel (including any that have been added to the map during asynchronous service) is closed." After I call asyncore.loop(), I'd like to be able to add/remove clients ("channels"?) to/from execution by asyncore. Is this possible? Thanks, Chris -- http://mail.python.org/mailman/listinfo/python-list