[Twisted-web] Re: nevow development refresh

Michael Hudson mwh at python.net
Thu Mar 31 09:50:31 MST 2005

Kevin Dangoor <dangoor at gmail.com> writes:

> I've also found this cookbook recipe for updating instances after
> reloading a module to be handy:
> http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/160164

This is the sort of thing I wrote it for!

In practice, I'm finding a few issues (mostly to do with upgrading
state of instances).

> At the moment, I'm just going in via a manhole and manually reloading
> modules when I change them in development. I'm sure this can be
> automated, though.

Hmm, manhole.  I should probably try that.

> This route has the advantage that you don't have to restructure your
> code into non-objects in the way that the cookbook suggests.

I don't understand this comment, though?


  One of the great skills in using any language is knowing what not
  to use, what not to say.  ... There's that simplicity thing again.
                                                       -- Ron Jeffries

More information about the Twisted-web mailing list