Persist a class (not an instance)
sybrenUSE at YOURthirdtower.com.imagination
Fri Nov 25 18:00:25 CET 2005
Kent Johnson enlightened us with:
> OK that confirms that pickle won't work. Is there another approach
> that will?
Well, since the classes are created at runtime as well, you could
compile them using the appropriate API and call exec() on them.
The problem with the world is stupidity. Not saying there should be a
capital punishment for stupidity, but why don't we just take the
safety labels off of everything and let the problem solve itself?
More information about the Python-list