[sugar] Reloading Python code

Neal Norwitz nnorwitz
Sun Feb 25 16:01:41 EST 2007


On 2/25/07, Ivan Krsti? <krstic at solarsail.hcs.harvard.edu> wrote:
> Bert Freudenberg wrote:
> > Maybe this is useful for extending the "View Source" button to a "Modify
> > Source" button:
>
> That's the reason Guido posted it ;)

There was further discussion today between Guido and Glyph (of
Twisted).  Twisted has another impl of reload that's more complex.
They also have tests and other possible use cases so we can learn from
their work and improve Guido's impl.  The good thing about Guido's
impl is that it's very fast compared to the Twisted version, although
not necessarily as complete.  The Twisted version walks all objects
where Guido's only patches the objects in the module being reloaded.

n


More information about the Sugar-devel mailing list