Re: [ZODB-Dev] Coping with Class Changes

2006-09-08 Thread Syver Enstad
Argh, whitespace problems in mail editor. I'll try again def myClassFactory(connection, modulename, globalname): # simplified, without error checking theGlobal = find_global(modulename, globalname) if issubclass(theGlobal, Broken): newModulename, newGlobalname =

Re: [ZODB-Dev] Coping with Class Changes

2006-09-06 Thread Syver Enstad
Dieter Maurer skrev: Chris S wrote at 2006-9-3 15:40 -0400: Is there a standard procedure for dealing with fundamental changes to classes? For instance, how do you make a ZODB cope with a class being renamed, or being placed in a different location? How will it know that oldmod.myclass ==

Re: [ZODB-Dev] Coping with Class Changes

2006-09-04 Thread Dieter Maurer
Chris S wrote at 2006-9-3 15:40 -0400: Is there a standard procedure for dealing with fundamental changes to classes? For instance, how do you make a ZODB cope with a class being renamed, or being placed in a different location? How will it know that oldmod.myclass == newmod.myclass? It does not.

[ZODB-Dev] Coping with Class Changes

2006-09-03 Thread Chris S
Is there a standard procedure for dealing with fundamental changes to classes? For instance, how do you make a ZODB cope with a class being renamed, or being placed in a different location? How will it know that oldmod.myclass == newmod.myclass? Chris