On Tue, Sep 17, 2013 at 2:28 AM, Rotwang <sg...@hotmail.co.uk> wrote: > If I then uncomment those two lines, reload the module and call f() again > (by entering tkderp.reload(tkderp).f()), the function works like it was > supposed to in the first place: two warnings, no exceptions. I can reload > the module as many times as I like and f() will continue to work without any > problems.
Reloading modules in Python is a bit messy. Are you able to tinker with it and make it work in some way without reloading? It'd be easier to figure out what's going on that way. ChrisA -- https://mail.python.org/mailman/listinfo/python-list