21 Dec
1999
21 Dec
'99
2:55 p.m.
-----Original Message----- From: Stephen Pitts [mailto:smpitts@midsouth.rr.com] Sent: Monday, December 20, 1999 4:10 PM To: zope@zope.org Subject: [Zope] Python Products
Is there any way to get Zope to reread a Python product's files without restarting?
If Zope is running in debug model, all HTMLFile objects and external methods are reloaded every time they are hit. The only way to reload python code is to restart Zope.
I'm developing using a cycle like this: * change .py file in lib/python/Products/* * save changes * restart Zope (takes 10 seconds :-()
Is there a better way?
You could try developing a patch that uses the python reload() method. -Michel
9603
Age (days ago)
9603
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michel Pelletier