[sugar] Reloading Python code
Andrew Clunis
orospakr
Sun Feb 25 20:44:56 EST 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Sun, Feb 25, 2007 at 03:01:39PM -0600, Neal Norwitz wrote:
> 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.
Just a quick introduction: I'm the author of Develop activity, OLPC's
Python "IDE".
http://wiki.laptop.org/go/Develop
I think that the idea of program instances being mutable is pretty cool
stuff.
- From a practical perspective, though, I'm not sure how to implement
this usefully into Develop.
Would there be some sort of "merge into running activity" button over a
buffer, or would there have to be something more drastic, like a
smalltalk style environment of floating objects and their methods?
That might prove difficult to implement practically.
How would you guys envision implementing this in a graphical development
environment?
- --
Regards,
Andrew Clunis
> _______________________________________________
> Sugar mailing list
> Sugar at laptop.org
> http://mailman.laptop.org/mailman/listinfo/sugar
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (GNU/Linux)
iD8DBQFF4juWALkUMXSNow8RAlO1AKC/Dwo8oW5wXPl5xIOx4E3lnuatJwCghPhy
TW/0Atff/jySt8Q1+Faj+6w=
=f0be
-----END PGP SIGNATURE-----
More information about the Sugar-devel
mailing list