Hey Stephan,

I'd have there one idea that may be not so easy to implement, but
would help a lot for developers of Z3 and even python.
The idea is to dynamically reload modules while running the app.
The most beautiful solution would do this by looking at the last
modified date of the .py file. If it changed since the last load,
reload it again, run the current code.
I personally am tired of restarting z3 each time I made an error even
if it is just one char mistype. I'm doing now a wx based app, and the
problem is the same... made an error, restart, click 10 times...
It would be also a way to have a developer version which might run
slower.

I found some related solutions (ideas, snippets)on the net, but none
of them seem to fit the picture _perfectly_.
Have a look at pythomnic, it is doing a kind of fault tolerant system
with python. With a sideeffect that for application code upgrade or
modifications you don't have to shut the app down. I can't imagine how
the folks at Google are dealing with system updates, but this module
makes some efforts in this direction. Just the usage is not so friendly.

http://www.pythomnic.org/
http://pyunit.sourceforge.net/notes/reloading.html
http://www.ece.arizona.edu/~edatools/Python/Reload.htm

Saturday, May 6, 2006, 9:10:45 PM, you wrote:

SR> Hey everyone,

SR> Nate sent just a message that I am interested in a SoC project with the 
Plone
SR> Foundation. Okay, let me write something too.

[snip]

-- 
Best regards,
 Groszer Adam
--
Quote of the day:
The heart of a fool is in his mouth, but the mouth of the wise


_______________________________________________
Zope3-dev mailing list
Zope3-dev@zope.org
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to