how to stop a server (TCPServer, for example)

Skip Montanaro skip at
Tue Aug 21 20:09:49 CEST 2001

    Huayin> do you think it is reasonable to patch the so
    Huayin> that it is easier to write request handler to stop the server?

I'm not sure it's worth the effort.  The system is designed so that you
subclass the relevant server class in your code and override serve_forever.
If you feel strongly about it, visit the Python project on SourceForge:

and submit a patch...

Skip Montanaro (skip at

More information about the Python-list mailing list