I sure hope you are keeping track of these (this?) listeners with the system.util.getGlobals() dictionary -- otherwise you will be attaching code to platform objects that will survive code edits and will leak jython interpreters along the way. See this discussion: