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 = translateLocat
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 == newmod
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 n