From: Mike C. F. <mcf...@ro...> - 2005-09-06 22:39:45
|
Antony Kummel wrote: >Hi! > >In an application I am working on, I'm getting an >exception in dispatcher._removeReceiver, which occurs, >apparently, after the main script exits. When it is >called, dispatcher.sendersBack is None! I suspect that >this is happening as part of Python's shutdown >procedures which also affect the module's interiors. >Anyway, I made a patch that returns immediately from >_removeReceiver in case sendersBack is None, but I >don't know what is causing it and whether this >phenomenon could manifest itself in different ways. >I'd be happy to help further if I can. > > Python cleans up a module's namespace during interpreter shutdown by replacing everything in the dictionary with None. Can you send me the patch? (I know, I could probably recreate it fairly quickly, but I'm working on other stuff at the moment and don't want to shift gears). Thanks, and have fun, Mike -- ________________________________________________ Mike C. Fletcher Designer, VR Plumber, Coder http://www.vrplumber.com http://blog.vrplumber.com |