From: swell on
I have a COM server that throw events that i catch after running the
event loop thanks to pythoncom.PumpMessages(). How can i stop and exit
this loop? I tried to use win32api.PostQuitMessage() but this has no
effect ( the doc says that WM_QUIT stops the PumpMessages loop but it
doesn't)

Does someone know how to exit gracefully from this loop?

Thx
Manu