20 Sep
2001
20 Sep
'01
7:34 p.m.
At 2:31 PM -0400 9/20/01, Chris McDonough wrote:
Is there any way to get existing instances to recognize new or changed methods (or class variables) of their classes? (I'm not interested in regular instance variables here, just methods and class variables.)
This happens automatically. Nothing special besides a Zope restart needs be done to make instances "notice" shared instance (class) variables and methods when you're coding a disk-based product.
Ah, but it does require a restart? That might be the information I need. Reloading the product from the debugger didn't do it. (I don't think refreshing the product does it either.) So something special happens at restart to connect old instances with the new definitions?