25 Aug
2002
25 Aug
'02
7:19 a.m.
KevinL writes:
Is there any easy way to make unpicklable objects created by a python product, persist across product refreshes? When a product is refreshed, it appears that every object the product provides gets re-instantiated - I'm having trouble finding somewhere to stash a reference to the unpicklable object (lists used to communicate with an extra thread holding another object - long story) that doesn't get trashed by a product refresh. Options:
* put them in a module that does not belong to your product. * customize the loader used by refresh. There is a way to control the reload by a declaration inside the module. I do not (no longer) know the details... Dieter